Skip to content

Commit

Permalink
Fix PyPI package on Python>=3.9 (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Apr 5, 2024
1 parent d0f2ee5 commit 876bef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pypi/yowasp_wavedrom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import quickjs
try:
import importlib.resources as importlib_resources
except ImportError:
importlib_resources.files()
except (ImportError, AttributeError):
import importlib_resources


Expand Down

0 comments on commit 876bef0

Please sign in to comment.