WIP lookup commands

This commit is contained in:
DiG 2022-01-17 15:34:08 +01:00
parent 4006249e2c
commit 418482db5f
1 changed files with 3 additions and 1 deletions

View File

@ -348,10 +348,12 @@ def flatten_stack( data ):
if type(obj) == list: if type(obj) == list:
eprint( 'is a list') eprint( 'is a list')
for item in obj: for item in obj:
print( 'item: ', item) print( 'item: ', item, type(item))
if type(item) == str: if type(item) == str:
eprint( 'sub item is a str')
flat.append( item ) flat.append( item )
if type(item) == dict: if type(item) == dict:
eprint( 'sub item is a dict')
flatten( item ) flatten( item )
if type(obj) == str: if type(obj) == str: