Spaces:
Running
Running
Update app.py
Browse files
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
|
1373 |
-
writer.write(
|
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 |
|