Skip to content

Commit 4a069e2

Browse files
committed
Try to use dotted import of fallback in depends
1 parent 9910556 commit 4a069e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/depends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def try_import(module, log_extra=False):
191191
def check_ripemd160():
192192
"""Check availability of the RIPEMD160 hash function"""
193193
try:
194-
from fallback import RIPEMD160Hash
194+
from .fallback import RIPEMD160Hash
195195
except ImportError:
196196
return False
197197
return RIPEMD160Hash is not None
@@ -385,7 +385,7 @@ def check_pyqt():
385385
"""
386386
# pylint: disable=no-member
387387
try:
388-
from fallback import PyQt5
388+
from .fallback import PyQt5
389389
except ImportError:
390390
logger.error(
391391
'PyBitmessage requires PyQt5 or qtpy, PyQt 4.8 or later'

0 commit comments

Comments
 (0)