]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_robot_base.py
Style: Fix flake8 E261 at least two spaces before inline comment
[bookmarks_db.git] / Robots / bkmk_robot_base.py
index 395d4f8d6981a3a17e50bbe11986e8c30a325ac2..9c9d8c5823543bc442472274068da5acbf8417b0 100644 (file)
@@ -106,7 +106,7 @@ class robot_base(Robot):
             bookmark.last_modified = last_modified
 
             md5 = md5wrapper()
-            if url_type == "ftp": # Pass welcome message through MD5
+            if url_type == "ftp":  # Pass welcome message through MD5
                 md5.update(self.get_ftp_welcome())
 
             md5.update(content)
@@ -200,7 +200,7 @@ class robot_base(Robot):
                                 try:
                                     timeout = int(refresh.split(';')[0])
                                 except ValueError:
-                                    pass # float timeout
+                                    pass  # float timeout
                                 self.set_redirect(bookmark, "html", "%s (%s sec)" % (url, timeout))
 
                 except KeyError as key: