X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=Robots%2Fbkmk_rurllib.py;h=018896379ab4a4f2ca2bd59f10736bb975314777;hb=d5365dbb38d672f256a5e7a2f949c789bc5793ce;hp=c7324e315bcd7ad5a5c1c1b785bcf2c139a29f91;hpb=91ef9925aec1c098bb428d8ba778d64ef10c16cf;p=bookmarks_db.git diff --git a/Robots/bkmk_rurllib.py b/Robots/bkmk_rurllib.py index c7324e3..0188963 100644 --- a/Robots/bkmk_rurllib.py +++ b/Robots/bkmk_rurllib.py @@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design" __license__ = "GNU GPL" __all__ = ['robot_urllib'] @@ -116,8 +116,9 @@ class robot_urllib(robot_base): def get_ftp_welcome(self): global ftpcache_key _welcome = urllib._urlopener.ftpcache[ftpcache_key].ftp.welcome - ftpcache_key = None # I am assuming there are no duplicate ftp URLs in db. - # If there are - ftpcache_key in prev line is invalid. + # I am assuming there are no duplicate ftp URLs in db. + # If there are - ftpcache_key in next line is invalid. + ftpcache_key = None return _welcome def finish_check_url(self, bookmark):