Commit 14ea6800 authored by Amrita Deb's avatar Amrita Deb
Browse files

Merge branch 'rohlfing_fix_wrong_pdf_size' into 'master'

Fix wrong PDF size

See merge request rwthmoodle/exam-scan!28
parents 41f0e1ab a794fb15
......@@ -152,7 +152,7 @@ def watermark_img(img_file, template, dpi):
# Save image as PDF and delete original image file
pdf_file = os.path.splitext(img_file)[0] + '.pdf', resolution=dpi)
if os.path.isfile(img_file):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment