Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -807,7 +807,7 @@ def erstellePdf(file_path_download, ueberschrift, dic_history):
|
|
807 |
|
808 |
|
809 |
# Generiere das PDF-Dokument
|
810 |
-
doc = SimpleDocTemplate(
|
811 |
doc.build(elements)
|
812 |
|
813 |
|
|
|
807 |
|
808 |
|
809 |
# Generiere das PDF-Dokument
|
810 |
+
doc = SimpleDocTemplate(file_path_download, pagesize=paper_size)
|
811 |
doc.build(elements)
|
812 |
|
813 |
|