Skip to content

Commit

Permalink
fix: Fix logic that was accidentally negated
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed May 12, 2024
1 parent 5824807 commit 3d63731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def downloader(args):
if not live:
print(output.strip())
rmtree(loc, ignore_errors=True)
if isinstance(e, StoryUpToDateException):
if not isinstance(e, StoryUpToDateException):
with open(inout_file, "a") as fp:
fp.write(f"{url}\n")

Expand Down

0 comments on commit 3d63731

Please sign in to comment.