From 267fe4b7b9a50604ca645d94e21e00e36a900720 Mon Sep 17 00:00:00 2001 From: Ronny Rentner Date: Thu, 14 Nov 2024 17:39:51 +0100 Subject: [PATCH] Try to fix imports in case ultraimport is not installed --- UltraDict.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UltraDict.py b/UltraDict.py index 0c67d5a..bbbe4bf 100644 --- a/UltraDict.py +++ b/UltraDict.py @@ -40,10 +40,10 @@ except ultraimport.ResolveImportError: import logging as log except ModuleNotFoundError: - from . import Exceptions - from .pymutex.mutex import SharedMutex + import Exceptions + from pymutex.mutex import SharedMutex try: - from .utils import log + from utils import log log.log_targets = [ sys.stderr ] except ModuleNotFoundError: import logging as log