Marthee commited on
Commit
e347b53
·
verified ·
1 Parent(s): 52841d8

Update google_sheet_Legend.py

Browse files
Files changed (1) hide show
  1. google_sheet_Legend.py +1 -1
google_sheet_Legend.py CHANGED
@@ -72,7 +72,7 @@ def update_sheet(spreadsheetId, SimilarAreaDictionary, pdfpath):
72
  splittedpdfpath = re.split(r'[`\-=~!@#$%^&*()_+\[\]{};\'\\:"|<,/<>?]', pdfpath)
73
  if splittedpdfpath[-2].startswith('2.2') or splittedpdfpath[-2].startswith('2.1'):
74
  worksheet.set_dataframe(start='A1', df=SimilarAreaDictionary)
75
- if splittedpdfpath[-2].startswith('2.8'):
76
  DoorsLegend(SimilarAreaDictionary,spreadsheetId)
77
  return
78
 
 
72
  splittedpdfpath = re.split(r'[`\-=~!@#$%^&*()_+\[\]{};\'\\:"|<,/<>?]', pdfpath)
73
  if splittedpdfpath[-2].startswith('2.2') or splittedpdfpath[-2].startswith('2.1'):
74
  worksheet.set_dataframe(start='A1', df=SimilarAreaDictionary)
75
+ if splittedpdfpath[-2].startswith('2.8') or splittedpdfpath[-2].startswith('2.1') :
76
  DoorsLegend(SimilarAreaDictionary,spreadsheetId)
77
  return
78