X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=set-real_title.py;h=8f091377f1d922968b66bced34de5d347128a0f5;hb=d7a67c44edee1994505e3bf501e6af63ffd1ef36;hp=a97a421ce84fcf44b20d93d089f14da19f2c59d6;hpb=c88cb7a75e7caf1d67466cfa107981d95115fa0c;p=bookmarks_db.git diff --git a/set-real_title.py b/set-real_title.py index a97a421..8f09137 100755 --- a/set-real_title.py +++ b/set-real_title.py @@ -9,7 +9,7 @@ import sys __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2002-2017 PhiloSoft Design" +__copyright__ = "Copyright (C) 2002-2023 PhiloSoft Design" __license__ = "GNU GPL" @@ -28,7 +28,7 @@ def run(): pass if report_stats: - print("Broytman set-real_title, Copyright (C) 2003-2017 PhiloSoft Design") + print("Broytman set-real_title, Copyright (C) 2003-2023 PhiloSoft Design") if args: sys.stderr.write("set-real_title: too many arguments\n") @@ -50,7 +50,6 @@ def run(): if report_stats: print("Ok") - changed = 0 for object_no in range(objects): object = root_folder.linear[object_no] @@ -66,7 +65,6 @@ def run(): object.name = real_title changed += 1 - if changed and report_stats: sys.stdout.write("Saving %s: " % storage.filename) sys.stdout.flush()