"""
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design"
__license__ = "GNU GPL"
__all__ = ['robot_urllib']
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):