Skip to content

Commit

Permalink
use warning instead
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 14, 2024
1 parent b0ac819 commit a21a01f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jwql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import warnings
from importlib.metadata import version

from jwql.utils import utils

__version__ = version('jwql')
Expand All @@ -10,4 +12,4 @@
f"while JWQL is using {__version__}")

except FileNotFoundError:
print('Could not determine jwql config version')
warnings.warn('Could not determine jwql config version')

0 comments on commit a21a01f

Please sign in to comment.