[DEBUG] correct order with none type

This commit is contained in:
Edouard DUPIN 2020-01-21 23:56:44 +01:00
parent f5955915b3
commit 469ebd7d4e

View File

@ -288,6 +288,9 @@ class DataInterface():
if value_order not in elem.keys():
out_unclassable.append(elem);
continue
if elem[value_order] == None:
out_unclassable.append(elem);
continue
out.append(elem);
out = sorted(out, key=lambda x: x[value_order])
if len(_order) > 1: