aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Denton <charlie@meshy.co.uk>2012-02-23 17:37:56 +0000
committerCharlie Denton <charlie@meshy.co.uk>2012-02-23 17:37:56 +0000
commit3581893df1f945d77c74cfb997a6be3d2d0f0831 (patch)
treef1f498b98edfcd5ac81373f559772c8ffd3c16c7
parent8a531833baa9ca69d5b15ba82b3f4d0b330b2aa5 (diff)
downloaddjango-wkhtmltopdf-3581893df1f945d77c74cfb997a6be3d2d0f0831.tar.gz
django-wkhtmltopdf-3581893df1f945d77c74cfb997a6be3d2d0f0831.tar.bz2
django-wkhtmltopdf-3581893df1f945d77c74cfb997a6be3d2d0f0831.zip
Return super when called.
-rw-r--r--wkhtmltopdf/views.py2
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)