diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 20:19:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-06 00:15:42 +0100 |
commit | 46a8e7d1d6ad459c78616c9ac076d30b09fb87c8 (patch) | |
tree | a44ec4a13bfdcc40e51a449f8dd899d315584bec /src/frontend | |
parent | ec51bc4be021116013a56a55fc6eb804887c2034 (diff) |
have sisyphus print the number of unread news during sync
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 2 |
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") |