mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
NVS: nvs_tool.py entry.data None check fix
This commit is contained in:
parent
ff0135448b
commit
098cab35e4
@ -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