Omnibus commited on
Commit
8ad79c7
·
verified ·
1 Parent(s): cf4d64d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -472,9 +472,9 @@ def create_index():
472
  print(k)
473
  print(ea['file_name'])
474
  #for ii in ind[0]:
475
- if k in ind[0].keys():
476
  print("Adding to list")
477
- ind[0][k].append(ea['file_name'])
478
  else:
479
  print("Adding new Value")
480
  ind.update({k:[ea['file_name']]})
 
472
  print(k)
473
  print(ea['file_name'])
474
  #for ii in ind[0]:
475
+ if k in ind.keys():
476
  print("Adding to list")
477
+ ind[k].append(ea['file_name'])
478
  else:
479
  print("Adding new Value")
480
  ind.update({k:[ea['file_name']]})