now this is just silly

This commit is contained in:
Sanj 2011-07-06 18:09:27 +05:30
parent e7361cdec2
commit 372656c937

View File

@ -652,8 +652,8 @@ 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)))
url = SITE_BASE + "/edit/view_article/%d/?m=%f" % (article.id, m)
m = int(round(article.get_print_multiplier(dpi))) + 2 # FIXME: stupid.
url = SITE_BASE + "/edit/view_article/%d/?m=%d" % (article.id, m)
url_list = [url]
'''
url_list = []