Add download helper for dev process

This commit is contained in:
Patrick Jentsch 2019-08-12 10:37:02 +02:00
parent fa2827608c
commit 344ba1a8e2

View File

@ -112,6 +112,4 @@ def job_download(job_id):
str(current_user.id),
'jobs',
str(job.id))
print(dir)
print(file)
return send_from_directory(directory=dir, filename=file, as_attachment=True)