From: Oleg Broytman Date: Wed, 19 Feb 2025 15:34:59 +0000 (+0300) Subject: Fix(bkmk_rrequests): Fix returned value X-Git-Tag: 6.2.0~9 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e8fd7568f439f26ae6b0c9d639eb3059eb92ba64;p=bookmarks_db.git Fix(bkmk_rrequests): Fix returned value --- diff --git a/Robots/bkmk_rrequests.py b/Robots/bkmk_rrequests.py index eb95eea..e033d15 100644 --- a/Robots/bkmk_rrequests.py +++ b/Robots/bkmk_rrequests.py @@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__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