From ec51bc4be021116013a56a55fc6eb804887c2034 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 5 Oct 2024 19:58:51 +0100 Subject: make checking news more portable --- src/frontend/cli/sisyphus-cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/frontend/cli') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 053f111..076bce3 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -357,7 +357,8 @@ def checknews(): * Example:\n sisyphus news check\n """ - sisyphus.getnews.start(check=True) + unread_count = sisyphus.getnews.start(check=True) + print(f"\nThere are {unread_count} unread news article(s).\n") @getNews.command("list") -- cgit v1.2.3