-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not show python traceback when esptool fails (#8603)
Path separator already handled by python Empty strings are false, implicitly checking for length
- Loading branch information
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this clause is always executed because
sys.exc_info
is function literal and of coursebool(sys.exc_info)
is alwaysTrue
.it must be
if any(sys.exc_info()):
.