Skip to content

Commit

Permalink
Try to fix imports in case ultraimport is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-rentner committed Nov 14, 2024
1 parent 31f59b8 commit 267fe4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UltraDict.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 267fe4b

Please sign in to comment.