diff --git a/UltraDict.py b/UltraDict.py index bbbe4bf..fa96720 100644 --- a/UltraDict.py +++ b/UltraDict.py @@ -40,7 +40,10 @@ except ultraimport.ResolveImportError: import logging as log except ModuleNotFoundError: - import Exceptions + try: + from .Exceptions import * + except ImportError: + import Exceptions from pymutex.mutex import SharedMutex try: from utils import log diff --git a/requirements.txt b/requirements.txt index 31c71b2..c9273d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ atomics psutil +ultraimport