From 3ac8f15ff16c6c4788361362cd220e3adb904c3b Mon Sep 17 00:00:00 2001 From: cis-kuldeep Date: Mon, 31 May 2021 22:14:22 +0530 Subject: [PATCH] fixed absolute imports --- src/randomtrackingdict.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/randomtrackingdict.py b/src/randomtrackingdict.py index 4b265f82..d2e97d07 100644 --- a/src/randomtrackingdict.py +++ b/src/randomtrackingdict.py @@ -4,7 +4,10 @@ Track randomize ordered dict from threading import RLock from time import time -from pybitmessage import helper_random +try: + import helper_random +except ImportError: + from . import helper_random class RandomTrackingDict(object):