Skip to content

Commit

Permalink
Preventing unexpected falls
Browse files Browse the repository at this point in the history
  • Loading branch information
hakavlad committed Jun 12, 2024
1 parent b54c0f5 commit c76087b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tird/tird.py
Original file line number Diff line number Diff line change
Expand Up @@ -2256,7 +2256,8 @@ def main() -> NoReturn:
if action in (2, 3, 5, 7, 8):
# Offer to remove the output file path if something went wrong
if not ok or 'auth_fail' in md:
remove_output()
if 'o' in iod:
remove_output()

iod.clear()
sd.clear()
Expand Down

0 comments on commit c76087b

Please sign in to comment.