Skip to content

Commit

Permalink
Fix importlib import
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Oct 25, 2023
1 parent 1dd05ef commit 24cbe56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/MaterialX/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# - https://docs.python.org/3.8/library/os.html#os.add_dll_directory
import os
import sys
import importlib
import importlib.metadata
if sys.platform == "win32" and sys.version_info >= (3, 8):
try:
importlib.metadata.version('MaterialX')
Expand Down

0 comments on commit 24cbe56

Please sign in to comment.