mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ttfw: Fix exception message when an error occurs finding files to flash
This commit is contained in:
parent
9fa87f04da
commit
b20eaf3306
@ -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 New Issue
Block a user