Fix variable used before definition in threshold lib

This commit is contained in:
Mark Veidemanis 2022-07-29 22:22:22 +01:00
parent 72adeed591
commit 909c5de4f9
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def escape(obj):
def sort_data(data):
for item in data.keys():
if isinstance(data[item], list):
cont = False
for v in data[item]:
if isinstance(v, list):
cont = True