]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(Robots/bkmk_rrequests): Add forgotten spaces in log
authorOleg Broytman <phd@phdru.name>
Mon, 4 Mar 2024 15:13:13 +0000 (18:13 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 4 Mar 2024 15:14:32 +0000 (18:14 +0300)
Robots/bkmk_rrequests.py

index 4612a8d5384dd2b03a31145132066be3ce33bf77..c6a91af3a962a3da3057c022b08edaaf96542ee3 100644 (file)
@@ -50,7 +50,7 @@ class robot_requests(robot_base):
         else:
             error, r = request_get(url, headers, self.timeout, None)
             if error is not None:
-                self.log('   Error: %s' % error)
+                self.log('   Error          : %s' % error)
                 if self.proxy and error != '404 not_found':
                     self.log('   Retrying with the proxy...')
                     error, r = request_get(url, headers,
@@ -59,7 +59,7 @@ class robot_requests(robot_base):
                         self.proxy_ok.add(url_host)
         if error is not None:
             if self.proxy and error != '404 not_found':
-                self.log('   Proxy error: %s' % error)
+                self.log('   Proxy error    : %s' % error)
                 if url_host not in self.proxy_ok:
                     self.proxy_error.add(url_host)
             return error, None, None, None, None