X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Robots%2Fbkmk_rurllib.py;h=d9908b83292ab92fcfd107710446555cd3aab712;hb=d2c2975d4cd9375460c7bbaaa3b6dbb855e84b86;hp=839e37316197d10a51b8812e5bca874e7f00738f;hpb=917353d7c874075d3709f9295dc231d8894e61a4;p=bookmarks_db.git diff --git a/Robots/bkmk_rurllib.py b/Robots/bkmk_rurllib.py index 839e373..d9908b8 100644 --- a/Robots/bkmk_rurllib.py +++ b/Robots/bkmk_rurllib.py @@ -91,7 +91,7 @@ class robot_urllib(robot_base): content = infile.read() infile.close() - return headers, content, None + return None, headers, content except IOError, msg: if (msg[0] == "http error") and (msg[1] == -1): @@ -102,7 +102,7 @@ class robot_urllib(robot_base): error = get_error(msg) self.log(' Error: %s' % error) - return None, None, error + return error, None, None def get_ftp_welcome(self): global ftpcache_key