From e7361cdec25b61f193466bc1fecddbac36eaf8b1 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 6 Jul 2011 18:06:25 +0530 Subject: [PATCH] ups, syntax --- edgware/editor/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index 34f645f..aa5b8c4 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -652,7 +652,7 @@ 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)) + m = int(round(article.get_print_multiplier(dpi))) url = SITE_BASE + "/edit/view_article/%d/?m=%f" % (article.id, m) url_list = [url] '''