diff options
Diffstat (limited to 'wkhtmltopdf')
-rw-r--r-- | wkhtmltopdf/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wkhtmltopdf/views.py b/wkhtmltopdf/views.py index c01a579..7d9e844 100644 --- a/wkhtmltopdf/views.py +++ b/wkhtmltopdf/views.py @@ -34,7 +34,7 @@ class PDFTemplateView(TemplateView): def get(self, request, context_instance=None, *args, **kwargs): if request.GET.get('as', '') == 'html': - super(PdfTemplateView, self).get(request, *args, **kwargs) + return super(PdfTemplateView, self).get(request, *args, **kwargs) page_path = template_to_temp_file(self.template_name, self.get_context_data(), context_instance) |