mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/nvs_tool_invalid_entry_none_check_v5.1' into 'release/v5.1'
NVS: nvs_tool.py entry.data None check fix (v5.1) See merge request espressif/esp-idf!24495
This commit is contained in:
commit
79cd68f969
@ -217,7 +217,10 @@ def dump_everything(nvs_partition: NVS_Partition, written_only: bool = False) ->
|
||||
'blob_index',
|
||||
'blob',
|
||||
]: # Entry is non-variable length
|
||||
nvs_log.info(entry.data['value'])
|
||||
if entry.data is not None:
|
||||
nvs_log.info(entry.data['value'])
|
||||
else:
|
||||
nvs_log.info(entry.data) # None
|
||||
else:
|
||||
if entry.metadata['type'] == 'blob_index':
|
||||
nvs_log.info(
|
||||
|
Loading…
Reference in New Issue
Block a user