hm, print

This commit is contained in:
sanj 2010-07-28 23:10:54 +05:30
parent d7bc143079
commit 03be400179

View File

@ -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)