FIX print_update_form

This commit is contained in:
alazo 2017-08-24 18:22:43 +02:00 committed by Claude Paroz
parent 90bd147a56
commit b8f6f435cc

View file

@ -654,7 +654,6 @@ def print_update_form(request):
pdf = UpdateDataFormPDF(path)
pdf.produce(klass)
filezip.write(pdf.filename)
break
with open(filezip.filename, mode='rb') as fh:
response = HttpResponse(fh.read(), content_type='application/zip')