aboutsummaryrefslogtreecommitdiffstats
path: root/server/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/views.py b/server/views.py
index cdc1b74..ab22891 100644
--- a/server/views.py
+++ b/server/views.py
@@ -221,7 +221,7 @@ def ulist(request):
# render context
html = template.render(context)
# render pdf using wkhtmltopdf
- pdf = pdfkit.from_string(html, False)
+ pdf = pdfkit.from_string(html, False, options={"window-status":"done"})
result = BytesIO(pdf)
result.seek(0)
return FileResponse(result, filename=document.user.username+"_"+document.document_type.name+".pdf")