Marthee commited on
Commit
656b1e1
·
verified ·
1 Parent(s): a7bc2d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1044,9 +1044,9 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0,pdf_content=0):
1044
  print("SearchArray = ",SearchArray)
1045
  global hatched_areas2_7
1046
  if pdf_content:
1047
- doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,points_Of_drawing_Canvas,Thickness, pdfpath,result[0],pdf_content)
1048
  else:
1049
- doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,points_Of_drawing_Canvas,Thickness, pdfpath,result[0])
1050
  # global colorsused
1051
  hatched_areas2_7=hatched_areas
1052
  colorsused=list(SimilarAreaDictionary['Color'])
 
1044
  print("SearchArray = ",SearchArray)
1045
  global hatched_areas2_7
1046
  if pdf_content:
1047
+ doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,result[8],Thickness, pdfpath,result[0],pdf_content)
1048
  else:
1049
+ doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas,bax_pretty_xml,column_xml=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray,CorrectionRatio,result[8],Thickness, pdfpath,result[0])
1050
  # global colorsused
1051
  hatched_areas2_7=hatched_areas
1052
  colorsused=list(SimilarAreaDictionary['Color'])