Omnibus commited on
Commit
d4b239d
1 Parent(s): 1ad23d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -72,9 +72,11 @@ def sort_doc(in_list,steps_in=0,control=None):
72
  last_key=list(lod.keys())[-1]
73
  print(last_key)
74
  for ea_dig in last_key:
 
75
  ea_dig=int(ea_dig)
76
  print(f'{ea_dig} :: {list(control_json["control"][ea_dig])[0]}')
77
- step_cont_box.append(int(list(control_json["control"][ea_dig])[0]))
 
78
  print(step_cont_box)
79
  cnt=int(last_key[-1])+1
80
  if not lod:
 
72
  last_key=list(lod.keys())[-1]
73
  print(last_key)
74
  for ea_dig in last_key:
75
+ ea_dig=control_json['control'].index(ea_dig)
76
  ea_dig=int(ea_dig)
77
  print(f'{ea_dig} :: {list(control_json["control"][ea_dig])[0]}')
78
+ #step_cont_box.append(int(list(control_json["control"][ea_dig])[0]))
79
+ step_cont_box.append(ea_dig)
80
  print(step_cont_box)
81
  cnt=int(last_key[-1])+1
82
  if not lod: