diff --git a/src/dcore/_dispatcher.py b/src/dcore/_dispatcher.py index 6f1e5c7c..52585b09 100644 --- a/src/dcore/_dispatcher.py +++ b/src/dcore/_dispatcher.py @@ -1,5 +1,5 @@ import os, sys -import importlib +import importlib.util if 'DCORE_TRIQS_COMPAT' in os.environ and int(os.environ['DCORE_TRIQS_COMPAT']) == 1: