From 63c80d69a3d2447a221c93fbafbd1cfa3835f155 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Thu, 16 Aug 2018 00:22:07 +0200 Subject: [PATCH] Fix de render_tex --- cotisations/tex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/tex.py b/cotisations/tex.py index f3f8601b..b7e1cb81 100644 --- a/cotisations/tex.py +++ b/cotisations/tex.py @@ -105,7 +105,7 @@ def render_tex(_request, template, ctx={}): Returns: An HttpResponse with type `application/pdf` containing the PDF file. """ - pdf = create_pdf(template, ctx={}) + pdf = create_pdf(template, ctx) r = HttpResponse(content_type='application/pdf') r.write(pdf) return r