summaryrefslogtreecommitdiff
path: root/src/frontend/cli/sisyphus-cli.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-05 20:19:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-06 00:15:42 +0100
commit46a8e7d1d6ad459c78616c9ac076d30b09fb87c8 (patch)
treea44ec4a13bfdcc40e51a449f8dd899d315584bec /src/frontend/cli/sisyphus-cli.py
parentec51bc4be021116013a56a55fc6eb804887c2034 (diff)
have sisyphus print the number of unread news during sync
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py2
1 files changed, 1 insertions, 1 deletions
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")