summaryrefslogtreecommitdiff
path: root/src/frontend/cli/sisyphus-cli.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 19:58:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-05 19:58:51 +0100
commitec51bc4be021116013a56a55fc6eb804887c2034 (patch)
tree8f8b7817ed24d3393a3bbd1d4972ca314a7397dc /src/frontend/cli/sisyphus-cli.py
parent3686bbcd8d465fdd79782d3da8285930b679db02 (diff)
make checking news more portable
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py3
1 files changed, 2 insertions, 1 deletions
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")