Skip to content

Commit

Permalink
restore logger
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Oct 24, 2024
1 parent 3db7172 commit 0f87729
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions genmod/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from logging import getLogger

try:
from importlib.metadata import version
except ImportError: # Backport support for importlib metadata on Python 3.7
from importlib_metadata import version

logger = getLogger(__name__)

__version__ = version("genmod")

0 comments on commit 0f87729

Please sign in to comment.