From a6c3e7aa24532f4a9c59174f6adfd3fcc6f616b4 Mon Sep 17 00:00:00 2001 From: Junya Otsuki Date: Thu, 25 Jan 2024 10:23:40 +0900 Subject: [PATCH] Fix import importlib.util --- src/dcore/_dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: