From 418482db5f0777f381b0e49c99a8488a138f8dcd Mon Sep 17 00:00:00 2001 From: DiG Date: Mon, 17 Jan 2022 15:34:08 +0100 Subject: [PATCH] WIP lookup commands --- odoo-rpc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/odoo-rpc.py b/odoo-rpc.py index e6718e2..309c9fb 100755 --- a/odoo-rpc.py +++ b/odoo-rpc.py @@ -348,10 +348,12 @@ def flatten_stack( data ): if type(obj) == list: eprint( 'is a list') for item in obj: - print( 'item: ', item) + print( 'item: ', item, type(item)) if type(item) == str: + eprint( 'sub item is a str') flat.append( item ) if type(item) == dict: + eprint( 'sub item is a dict') flatten( item ) if type(obj) == str: