From 03be4001790d280844e8529073997094863b27a1 Mon Sep 17 00:00:00 2001 From: sanj Date: Wed, 28 Jul 2010 23:10:54 +0530 Subject: [PATCH] hm, print --- 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 eea1bf4..e6d98d1 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -570,7 +570,7 @@ def product_pdf(request): m = product.get_print_multiplier(dpi) url_list = [] for p in pages: - url = SITE_BASE + "/edit/view_article/%d/?m=%f&p=%d'" % (p.article.id, m, p.id) + url = SITE_BASE + "/edit/view_article/%d/?m=%f'" % (p.article.id, m) url_list.append(url) output_path = MEDIA_ROOT + "/pdf/" + product.title + ".pdf" pdf_path = print_url_list(url_list, width_mm, height_mm, output_path)