hm, print
This commit is contained in:
parent
d7bc143079
commit
03be400179
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user