X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=set-title-list.py;h=52c5ee8d6d0ad2fd751b700f3415721865a97425;hb=b2b302b348f0b711557961c70744c818cff664f0;hp=be96b53ea608c3d56b243d89c9fc52b3b7d3c08f;hpb=c2ea4e82718b903aa123dd77490f36657383b0ca;p=bookmarks_db.git diff --git a/set-title-list.py b/set-title-list.py index be96b53..52c5ee8 100755 --- a/set-title-list.py +++ b/set-title-list.py @@ -66,7 +66,6 @@ def run(): title_list_file.close() - from storage import storage storage = storage() @@ -82,7 +81,6 @@ def run(): if report_stats: print("Ok") - # Run through the list of objects and check URLs/titles changed = 0 for object_no in range(objects): @@ -96,7 +94,6 @@ def run(): object.name = name changed += 1 - if changed and report_stats: sys.stdout.write("Saving %s: " % storage.filename) sys.stdout.flush()