1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

del null keys

This commit is contained in:
Kelly Brazil
2021-10-13 07:26:31 -06:00
parent ba75989a24
commit 4a3656562f

View File

@ -135,6 +135,12 @@ class _LsUsb():
}
}
if line_obj[temp_obj['key']]['value'] is None:
del line_obj[temp_obj['key']]['value']
if line_obj[temp_obj['key']]['description'] is None:
del line_obj[temp_obj['key']]['description']
return line_obj
def _set_sections(self, line):