Mercurial > odfcast
changeset 57:423f99732a80
Add some debug output for merging pdfs
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 12 Nov 2014 12:20:01 +0100 |
parents | 1e62ccffb395 |
children | ea839127934d |
files | odfcast/convert.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/odfcast/convert.py Mon Nov 03 15:25:19 2014 +0100 +++ b/odfcast/convert.py Wed Nov 12 12:20:01 2014 +0100 @@ -183,6 +183,8 @@ return render_template("merge.html") def post(self): + log.debug("Merging PDF documents") + merger = PdfFileMerger() ffiles = request.files.getlist('files') @@ -194,6 +196,7 @@ merger.write(outfile.name) merger.close() + log.debug("PDF documents merged") return Response(outfile, mimetype=PDF_MIMETYPE)