Skip to content

Commit 7dc73e6

Browse files
mcsprhasenradball
authored andcommitted
upload.py should not always fail (esp8266#8608)
esp8266@0778980#r76344981 thx @jjsuwa-sys3175
1 parent ce71973 commit 7dc73e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/upload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@
7070
finally:
7171
if erase_file:
7272
os.remove(erase_file)
73-
if sys.exc_info:
73+
if any(sys.exc_info()):
7474
sys.exit(2)

0 commit comments

Comments
 (0)