From 46a8e7d1d6ad459c78616c9ac076d30b09fb87c8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 5 Oct 2024 20:19:14 +0100 Subject: have sisyphus print the number of unread news during sync --- src/frontend/cli/sisyphus-cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 076bce3..83818e8 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -357,7 +357,7 @@ def checknews(): * Example:\n sisyphus news check\n """ - unread_count = sisyphus.getnews.start(check=True) + unread_count = sisyphus.checkenv.news() print(f"\nThere are {unread_count} unread news article(s).\n") -- cgit v1.2.3