Marthee commited on
Commit
540b06d
·
verified ·
1 Parent(s): 6ceaf9b

Update Code_2_7.py

Browse files
Files changed (1) hide show
  1. Code_2_7.py +3 -3
Code_2_7.py CHANGED
@@ -2281,10 +2281,10 @@ def mainFunctionDrawImgPdf(datadoc,dxfpath, dxfratio,SearchArray,Thickness,pdfpa
2281
 
2282
 
2283
  if pdf_content:
2284
- latestimg,pix=pdftoimg(OutputPdfStage3,pdf_content)
2285
  else:
2286
- latestimg,pix=pdftoimg(OutputPdfStage3)
2287
- doc2 =fitz.open('pdf',OutputPdfStage3)
2288
  if pdf_content:
2289
  gc,spreadsheet_service,spreadsheetId, spreadsheet_url , namepathArr=google_sheet_Legend.legendGoogleSheets(grouped_df , pdfname,pdfpath,pdf_content)
2290
  else:
 
2281
 
2282
 
2283
  if pdf_content:
2284
+ latestimg,pix=pdftoimg(OutputPdfStage2,pdf_content)
2285
  else:
2286
+ latestimg,pix=pdftoimg(OutputPdfStage2)
2287
+ doc2 =fitz.open('pdf',OutputPdfStage2)
2288
  if pdf_content:
2289
  gc,spreadsheet_service,spreadsheetId, spreadsheet_url , namepathArr=google_sheet_Legend.legendGoogleSheets(grouped_df , pdfname,pdfpath,pdf_content)
2290
  else: