From: Oleg Broytman Date: Tue, 20 Aug 2024 17:27:08 +0000 (+0300) Subject: Chore(check_urls): Improve output X-Git-Tag: 6.1.0~15 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=061b80e29131e5407f02b60c86034100f5d5f5ef;p=bookmarks_db.git Chore(check_urls): Improve output --- diff --git a/check_urls.py b/check_urls.py index 2111b3f..6e0ada8 100755 --- a/check_urls.py +++ b/check_urls.py @@ -50,6 +50,7 @@ def run(): bookmark.parent = None bookmarks.append(bookmark) + log("Checking %s" % url) robot.check_bookmark(bookmark) robot.stop() diff --git a/check_urls_db.py b/check_urls_db.py index 5324a47..b685a69 100755 --- a/check_urls_db.py +++ b/check_urls_db.py @@ -59,14 +59,14 @@ def run(): from m_lib.flog import makelog, openlog if only_errors: log = openlog("check.log") - log("chk_urls restarted for errors") + log("chk_urls_db restarted for errors") if report_stats: - print("chk_urls restarted for errors") + print("chk_urls_db restarted for errors") else: log = makelog("check.log") log("check_urls_db started") if report_stats: - print(" check_urls_db: normal start") + print("check_urls_db started") log.outfile.reconfigure(encoding='utf-8') from storage import storage