diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 19:58:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 19:58:51 +0100 |
commit | ec51bc4be021116013a56a55fc6eb804887c2034 (patch) | |
tree | 8f8b7817ed24d3393a3bbd1d4972ca314a7397dc /src/frontend/cli/sisyphus-cli.py | |
parent | 3686bbcd8d465fdd79782d3da8285930b679db02 (diff) |
make checking news more portable
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 3 |
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") |