From: Oleg Broytman Date: Sun, 12 Nov 2023 13:57:51 +0000 (+0300) Subject: Fix(Py3): Fix absolute import X-Git-Tag: 5.0.0~47 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=aa16aeb9099f9863683ab88f3d462629a6393faf;p=bookmarks_db.git Fix(Py3): Fix absolute import --- diff --git a/Robots/bkmk_rforking_sub.py b/Robots/bkmk_rforking_sub.py index 6fb929e..6823deb 100755 --- a/Robots/bkmk_rforking_sub.py +++ b/Robots/bkmk_rforking_sub.py @@ -21,11 +21,11 @@ try: except ImportError: import pickle -from subproc import RecordFile - lib_dir = os.path.normpath(os.path.dirname(os.path.dirname(sys.argv[0]))) sys.path.append(lib_dir) # for bkmk_objects.py +from subproc import RecordFile + def run(): bkmk_in = RecordFile(sys.stdin)