Commit c077047d authored by Antoine Bernard's avatar Antoine Bernard

Fix un .format oublié à 54fa7874.

parent 0cf20ea7
......@@ -2001,7 +2001,7 @@ def TresorerieFacturation(request,sock,kwargs):
if retcode:
messages.add_success(request, messages.SUCCMSG_INVOICE_ADDED)
res = HttpResponse(res, content_type="application/pdf")
res['Content-Disposition'] = "attachement; filename={}" %filename
res['Content-Disposition'] = "attachement; filename={}".format(filename)
return res
return HttpResponse(res, content_type="text/plain")
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