]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk-add.py
Style: Fix flake8 E261 at least two spaces before inline comment
[bookmarks_db.git] / bkmk-add.py
index df12452433c27f4d9c5539cc28f7d5186aeb0541..01ed29f24bfddbca711b2984146a35f2c578dfdd 100755 (executable)
@@ -6,7 +6,7 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2002-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2002-2023 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 import sys, os, time
@@ -57,8 +57,8 @@ def run():
     global robot
     robot = robot(None)
 
-    if robot.check_url(bookmark): # get real title and last modified date
-        if title: # forced title
+    if robot.check_url(bookmark):  # get real title and last modified date
+        if title:  # forced title
             bookmark.name = title
         elif hasattr(bookmark, "real_title"):
             bookmark.name = bookmark.real_title