Redmind commited on
Commit
5920e5c
·
verified ·
1 Parent(s): 6b6f0db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1369,8 +1369,8 @@ def create_pdf(cname,ename,account_number, directory):
1369
  page.merge_page(page) # Flatten content
1370
  writer.add_page(page)
1371
 
1372
- with open(output_file_name, "wb") as output_file_name:
1373
- writer.write(output_file_name)
1374
 
1375
 
1376
 
 
1369
  page.merge_page(page) # Flatten content
1370
  writer.add_page(page)
1371
 
1372
+ with open(output_file_name, "wb") as f:
1373
+ writer.write(f)
1374
 
1375
 
1376