Skip to content

Commit

Permalink
fix(cli): unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Apr 22, 2024
1 parent aee27ca commit 9da24e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "juicenet-cli"
version = "0.45.2"
version = "0.45.3"
description = "CLI tool designed to simplify the process of uploading files to Usenet"
authors = ["Raventric <raven@juicenet.in>"]
license = "Unlicense"
Expand Down
3 changes: 1 addition & 2 deletions src/juicenet/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,10 @@ def main(

# --only-raw
if only_raw:
output = {}
if raw_count == 0:
logger.info("No raw articles available for reposting")
else:
output = {}

with progress_bar(console=console, disable=debug) as progress:
task_raw = progress.add_task("Raw...", total=raw_count)

Expand Down

0 comments on commit 9da24e3

Please sign in to comment.