markup: attach marked up pdf to email also

This commit is contained in:
2019-10-20 23:14:25 -07:00
parent 606f3fd5da
commit 1970e2f506
2 changed files with 10 additions and 4 deletions

View File

@ -67,7 +67,7 @@ def process_attachment(from_address, subject, attachment):
if xls_path:
# send reply
print(f'wrote spreadsheet: {xls_path}')
reply(from_address, subject, xls_path)
reply(from_address, subject, xls_path, pdf_path)
else:
# send error
print(f'error creating spreadsheet')