@ -35,8 +35,6 @@ def generate ():
else:
pdf = make_pdf(html)
print(pdf)
r = Response(pdf, mimetype='application/pdf')
r.headers.extend({
@ -29,8 +29,6 @@ def run_pagedjs (path_html, path_pdf, cwd=None, extra_scripts=[]):
path_html
])
print(' '.join(args))
try:
return subprocess.check_output(args, cwd=cwd, stderr=subprocess.STDOUT).decode()
except subprocess.CalledProcessError as e: