Skip to content

Commit

Permalink
add missing import of sys
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 4, 2024
1 parent 5193552 commit 353977a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from .lib import {{ classes|join(', ') }}

{%- else %}
import sys
if sys.version_info >= (3, 12): # pragma: no cover (PY12+)
import importlib.resources as importlib_resources
else: # pragma: no cover (<PY312)
Expand Down

0 comments on commit 353977a

Please sign in to comment.