Fix variable used before definition in threshold lib
This commit is contained in:
parent
72adeed591
commit
909c5de4f9
|
@ -28,6 +28,7 @@ def escape(obj):
|
||||||
def sort_data(data):
|
def sort_data(data):
|
||||||
for item in data.keys():
|
for item in data.keys():
|
||||||
if isinstance(data[item], list):
|
if isinstance(data[item], list):
|
||||||
|
cont = False
|
||||||
for v in data[item]:
|
for v in data[item]:
|
||||||
if isinstance(v, list):
|
if isinstance(v, list):
|
||||||
cont = True
|
cont = True
|
||||||
|
|
Loading…
Reference in New Issue