Spaces:
Sleeping
Sleeping
Update Counting_Columns_2_1.py
Browse files- Counting_Columns_2_1.py +1 -1
Counting_Columns_2_1.py
CHANGED
|
@@ -228,7 +228,7 @@ def mainfun(pdf_name,pdfpath,planname):
|
|
| 228 |
legend = legend.fillna(' ')
|
| 229 |
gc,spreadsheet_service,spreadsheetId, spreadsheet_url , namepathArr=google_sheet_Legend.legendGoogleSheets(legend , planname,pdfpath)
|
| 230 |
list1=pd.DataFrame(columns=['content', 'id', 'subject','color'])
|
| 231 |
-
for page in
|
| 232 |
for annot in page.annots():
|
| 233 |
annot_color = annot.colors
|
| 234 |
if annot_color is not None:
|
|
|
|
| 228 |
legend = legend.fillna(' ')
|
| 229 |
gc,spreadsheet_service,spreadsheetId, spreadsheet_url , namepathArr=google_sheet_Legend.legendGoogleSheets(legend , planname,pdfpath)
|
| 230 |
list1=pd.DataFrame(columns=['content', 'id', 'subject','color'])
|
| 231 |
+
for page in pdf_document:
|
| 232 |
for annot in page.annots():
|
| 233 |
annot_color = annot.colors
|
| 234 |
if annot_color is not None:
|