Skip to content

Commit a017099

Browse files
committed
Try to fix imports again
1 parent bcc4519 commit a017099

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

UltraDict.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@
4141
import logging as log
4242
except ModuleNotFoundError:
4343
try:
44-
from .Exceptions import *
44+
from UltraDict import Exceptions
4545
except ImportError:
46-
import Exceptions
47-
from pymutex.mutex import SharedMutex
46+
from . import Exceptions
47+
try:
48+
from UltraDict.pymutex.mutex import SharedMutex
49+
except ImportError:
50+
from .pymutex.mutex import SharedMutex
4851
try:
4952
from utils import log
5053
log.log_targets = [ sys.stderr ]

0 commit comments

Comments
 (0)