]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk2db.py
Style: Fix flake8 E261 at least two spaces before inline comment
[bookmarks_db.git] / bkmk2db.py
index 5cf29aed53d4abfe607fb48b56aacdf4329b75cd..0beea071a0b5ca8e5b0ed83b98ce778745108295 100755 (executable)
@@ -11,7 +11,7 @@ from bkmk_parser import BkmkParser
 
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 1997-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 1997-2023 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 
@@ -40,7 +40,7 @@ def run():
         filename = args[0]
 
     else:
-        filename = 'bookmarks.html' # good name both for DOS (bookmark.htm) and UNIX
+        filename = 'bookmarks.html'  # good name both for DOS (bookmark.htm) and UNIX
 
 
     if report_stats:
@@ -70,10 +70,10 @@ def run():
         lng = 0
 
         # This is for DOS - it counts CRLF, which len() counts as 1 char!
-        if os.name == 'dos' or os.name == 'nt' :
+        if os.name == 'dos' or os.name == 'nt':
             dos_add = 1
         else:
-            dos_add = 0 # UNIX' and Mac's len() counts CR or LF correct
+            dos_add = 0  # UNIX' and Mac's len() counts CR or LF correct
 
 
     infile = open(filename, 'r')