XPMaster commited on
Commit
32e0037
·
1 Parent(s): 3f207f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -633,6 +633,8 @@ def process(files,button):
633
  sheetwarnings = [['No warnings'],'00FF00']
634
  if len(warnings) > 0:
635
  sheetwarnings = [warnings,'FFA500']
 
 
636
  if len(filled_warn) == 0:
637
  filled_warn = ['No fillings']
638
  # else:
@@ -640,7 +642,7 @@ def process(files,button):
640
  # # filled_warn[-2] = "Padded columns "+str(list(tempt_list))+" with total of "+str(round(filled_warn[-2][1],3))+" each"
641
  # pass
642
  # fillings_amounts = filled_warn[-1][1]
643
- filled_warn.pop(-1)
644
  sheet_data[name] = {
645
  "Before columns": [old_olds],
646
  'Sum Before':[sums_old,None,True],
 
633
  sheetwarnings = [['No warnings'],'00FF00']
634
  if len(warnings) > 0:
635
  sheetwarnings = [warnings,'FFA500']
636
+
637
+ filled_warn.pop(-1)
638
  if len(filled_warn) == 0:
639
  filled_warn = ['No fillings']
640
  # else:
 
642
  # # filled_warn[-2] = "Padded columns "+str(list(tempt_list))+" with total of "+str(round(filled_warn[-2][1],3))+" each"
643
  # pass
644
  # fillings_amounts = filled_warn[-1][1]
645
+
646
  sheet_data[name] = {
647
  "Before columns": [old_olds],
648
  'Sum Before':[sums_old,None,True],