ttfw_idf: IDFApp: convert partition offset to int

This commit is contained in:
Ivan Grokhotkov
2019-12-20 03:00:12 +01:00
parent 952830ab12
commit 7d74cc4255
2 changed files with 4 additions and 1 deletions

View File

@@ -308,6 +308,7 @@ class IDFApp(App.BaseApp):
_size = int(_size[:-1]) * 1024 * 1024
else:
_size = int(_size)
_offset = int(_offset, 0)
except ValueError:
continue
partition_table[_name] = {