Skip to content

Commit

Permalink
upload.py should not always fail (esp8266#8608)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr authored and hasenradball committed Nov 18, 2024
1 parent ce71973 commit 7dc73e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@
finally:
if erase_file:
os.remove(erase_file)
if sys.exc_info:
if any(sys.exc_info()):
sys.exit(2)

0 comments on commit 7dc73e6

Please sign in to comment.