Skip to content
Snippets Groups Projects
Commit f60a8096 authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

fixed wrong exception type

parent 8a0d1bce
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,6 @@ __name__ = "ess-python-tools"
try:
__version__ = metadata.version(__name__)
except metadata.PackageNotFoundError:
except ModuleNotFoundError:
# package is not installed
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment