WIP lookup commands

This commit is contained in:
DiG 2022-01-17 15:27:45 +01:00
parent 4b647f23a0
commit e06c03552c
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ def flatten_stack( data ):
def flatten( obj ):
if type(obj) == dict:
key = obj.keys()[0]
key = obj.keys()[0] if obj.keys()[0] != 'file' else obj.keys()[1]
flat.append( key )
for field in obj[key].keys():
flatten( obj[key][field] )