From 70fa282d17c8e42eb1e76c72dd132cdf817196bf Mon Sep 17 00:00:00 2001 From: sanj Date: Fri, 30 Jul 2010 20:40:35 +0530 Subject: [PATCH] here we go again - dont print the same thing twice --- 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 242909b..6c62039 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -588,7 +588,7 @@ def article_pdf(request): # url_list = [url] url_list = [] for p in pages: - url = SITE_BASE + "/edit/view_article/%d/?m=%f" % (article.id, m) + url = SITE_BASE + "/edit/view_article/%d/?m=%f&p=%d" % (article.id, m, p.id) url_list.append(url) output_path = MEDIA_ROOT + "/pdf/" + article.name + "_" + str(article.current_revision()) + ".pdf" pdf_path = print_url_list(url_list, width_mm, height_mm, dpi, output_path)