Marthee commited on
Commit
36cff54
·
verified ·
1 Parent(s): b18d5bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -300,7 +300,7 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0):
300
  pdflink= tsadropboxretrieval.uploadanyFile(doc=doc,path=dbPath,pdfname=result[0]) #doc=doc,pdfname=path,pdfpath=pdfpath+'Measured Plan/'
301
 
302
  _, buffer = cv2.imencode('.png', outputimg)
303
- arr=[ base64.b64encode(buffer).decode('utf-8'),SimilarAreaDictionary.to_dict(), spreadsheet_url,spreadsheetId,[],list1.to_dict(),pdflink,hatched_areas,namepathArr]#,hatched_areas,namepathArr]# , spreadsheetId, spreadsheet_url , list1.to_dict()]
304
  ################################# -2.8- #################################
305
  elif result[5][2].startswith('2.8'): #section value - 2.8 floor finishes
306
  #vv[0] array of pdf names
 
300
  pdflink= tsadropboxretrieval.uploadanyFile(doc=doc,path=dbPath,pdfname=result[0]) #doc=doc,pdfname=path,pdfpath=pdfpath+'Measured Plan/'
301
 
302
  _, buffer = cv2.imencode('.png', outputimg)
303
+ arr=[ base64.b64encode(buffer).decode('utf-8'),SimilarAreaDictionary.to_dict(), spreadsheet_url,spreadsheetId,[],list1.to_dict(),pdflink,[],namepathArr]#,hatched_areas,namepathArr]# , spreadsheetId, spreadsheet_url , list1.to_dict()]
304
  ################################# -2.8- #################################
305
  elif result[5][2].startswith('2.8'): #section value - 2.8 floor finishes
306
  #vv[0] array of pdf names