X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fbkmk_rforking_sub.py;h=7dd1f5fa7b7da797bff902338afe0507665e4335;hb=cbf4c2c1db0af3829e015d895eb4ae02ecb8fc8e;hp=73956e246d6b02342e3256248bc7e90639c8b501;hpb=9d989c8c9ebd7f13e9f0fdc95fa139c99ed83387;p=bookmarks_db.git diff --git a/Robots/bkmk_rforking_sub.py b/Robots/bkmk_rforking_sub.py index 73956e2..7dd1f5f 100755 --- a/Robots/bkmk_rforking_sub.py +++ b/Robots/bkmk_rforking_sub.py @@ -14,7 +14,7 @@ __all__ = [] import sys, os -lib_dir = os.path.normpath(os.path.dirname(sys.argv[0]) + os.sep + os.pardir) +lib_dir = os.path.normpath(os.path.join(os.path.dirname(sys.argv[0]), os.pardir)) sys.path.append(lib_dir) # for bkmk_objects.py try: @@ -32,8 +32,8 @@ def run(): from m_lib.flog import openlog log = openlog("check2.log") - from bkmk_rurllib import robot_urllib - robot = robot_urllib(log) + from robots import robot + robot = robot(log) while 1: bookmark = pickle.loads(bkmk_in.read_record())