Skip to content
Snippets Groups Projects
Commit c3aefcfc authored by Sarra Ouelhadj's avatar Sarra Ouelhadj
Browse files

correct error

parent bbd823d2
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ def generateJSON(file, path=app.config["UPLOAD_FOLDER"]):
index= list_of_all_values.index(enumeration)
for enum in filter(lambda value:True if value[1]!='' else False,book["Valeurs d'énumération"][1:]):
if (enumeration != enum[0] and enum[0]!=''):
enumeration=attr[0]
enumeration=enum[0]
index= list_of_all_values.index(enumeration)
list=[]
element={}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment