]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(bkmk_rrequests): Fix returned value
authorOleg Broytman <phd@phdru.name>
Wed, 19 Feb 2025 15:34:59 +0000 (18:34 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 19 Feb 2025 15:34:59 +0000 (18:34 +0300)
Robots/bkmk_rrequests.py

index eb95eeae8a2013e58c2f7e42d11cb4ea3b220040..e033d15dd21ad9ab3ce0859a894ae94c5c8bd7f8 100644 (file)
@@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2024 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2024, 2025 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 __all__ = ['robot_requests']
@@ -32,7 +32,7 @@ class robot_requests(robot_base):
         if url.startswith('ftp://'):
             error, welcome, body = _get_ftp(url, self.timeout)
             if error is not None:
-                return error, None, None, None, None
+                return error, None, None, None
             self.welcome = welcome
             return None, None, None, body