[8] allow dict lists

pull/779/head
meisnate12 3 years ago
parent 18e7c84469
commit 04574c3548

@ -1 +1 @@
1.16.1-develop7 1.16.1-develop8

@ -111,7 +111,7 @@ def get_list(data, lower=False, upper=False, split=True, int_list=False):
elif int_list is True: elif int_list is True:
try: return [int(str(d).strip()) for d in list_data] try: return [int(str(d).strip()) for d in list_data]
except ValueError: return [] except ValueError: return []
else: return [str(d).strip() for d in list_data] else: return [d if isinstance(d, dict) else str(d).strip() for d in list_data]
def get_int_list(data, id_type): def get_int_list(data, id_type):
int_values = [] int_values = []

Loading…
Cancel
Save