From aa16aeb9099f9863683ab88f3d462629a6393faf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 12 Nov 2023 16:57:51 +0300 Subject: [PATCH] Fix(Py3): Fix absolute import --- Robots/bkmk_rforking_sub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5