ttfw: Fix exception message when an error occurs finding files to flash
This commit is contained in:
parent
9fa87f04da
commit
b20eaf3306
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ class IDFDUT(DUT.SerialDUT):
|
|||
|
||||
Structured this way so @_uses_esptool will reconnect each time
|
||||
"""
|
||||
flash_files = []
|
||||
try:
|
||||
# note: opening here prevents us from having to seek back to 0 each time
|
||||
flash_files = [(offs, open(path, "rb")) for (offs, path) in self.app.flash_files]
|
||||
|
|
Loading…
Reference in a new issue