Merge branch 'bugfix/otatool_imported_as_lib_v4.2' into 'release/v4.2'

otatool: Fix a crash when imported as external python lib (v4.2)

See merge request espressif/esp-idf!13667
This commit is contained in:
Zim Kalinowski 2021-07-20 03:25:20 +00:00
commit 9896fc0aef

View File

@ -102,7 +102,6 @@ class OtatoolTarget():
def switch_ota_partition(self, ota_id):
self._check_otadata_partition()
sys.path.append(PARTTOOL_DIR)
import gen_esp32part as gen
def is_otadata_info_valid(status):