Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jakbin authored Oct 18, 2023
1 parent 5d27ae7 commit 189bdf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anonupload/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def download(url: str, custom_filename: str=None, path: Path=Path.cwd(), delete:
except ConnectionError:
return 1

first_msg, second_msg = upload(full_filename)
first_msg = upload(full_filename)
if delete:
remove_file(full_filename)
return first_msg, second_msg
Expand Down

0 comments on commit 189bdf5

Please sign in to comment.