From 372656c937ef5ab9afe9663db99a01abda6d2b0b Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 6 Jul 2011 18:09:27 +0530 Subject: [PATCH] now this is just silly --- edgware/editor/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index aa5b8c4..d1b6dd2 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -652,8 +652,8 @@ def article_pdf(request): width_mm = request.GET.get('width', article.typ.print_width) height_mm = int(round(width_mm + .0 / article.typ.aspect_ratio)) pages = Page.objects.filter(article=article).order_by('page_no') - m = int(round(article.get_print_multiplier(dpi))) - url = SITE_BASE + "/edit/view_article/%d/?m=%f" % (article.id, m) + m = int(round(article.get_print_multiplier(dpi))) + 2 # FIXME: stupid. + url = SITE_BASE + "/edit/view_article/%d/?m=%d" % (article.id, m) url_list = [url] ''' url_list = []