Spaces:
Sleeping
Sleeping
Update google_sheet_Legend.py
Browse files- 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 |
|