geethareddy commited on
Commit
fcce866
·
verified ·
1 Parent(s): c80156e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,7 +90,7 @@ def save_report_as_pdf(role, supervisor_name, project_id, checklist, suggestions
90
  shutil.copy(file_path, temp_pdf_path)
91
  return temp_pdf_path,filename
92
 
93
- def upload_pdf_to_salesforce_and_update_link(supervisor_name, project_id, pdf_path, pdf_name, checklist, suggestions):
94
  try:
95
  sf = Salesforce(
96
  username=os.getenv('SF_USERNAME'),
@@ -147,7 +147,7 @@ def upload_pdf_to_salesforce_and_update_link(supervisor_name, project_id, pdf_pa
147
  'Supervisor_ID__c': supervisor_id,
148
  'Daily_Checklist__c': checklist,
149
  'Suggested_Tips__c': suggestions,
150
- 'Reflection_Log__c': Reflection Log,
151
  'Download_Link__c': download_url
152
  })
153
 
 
90
  shutil.copy(file_path, temp_pdf_path)
91
  return temp_pdf_path,filename
92
 
93
+ def upload_pdf_to_salesforce_and_update_link(supervisor_name, project_id, pdf_path, pdf_name, checklist, suggestions,Reflection_Log):
94
  try:
95
  sf = Salesforce(
96
  username=os.getenv('SF_USERNAME'),
 
147
  'Supervisor_ID__c': supervisor_id,
148
  'Daily_Checklist__c': checklist,
149
  'Suggested_Tips__c': suggestions,
150
+ 'Reflection_Log__c': Reflection_Log,
151
  'Download_Link__c': download_url
152
  })
153