turn smart shrinking back on and try
This commit is contained in:
parent
18b4917030
commit
44e0c21f69
|
@ -4,7 +4,7 @@ def print_url_list(urls, width, height, dpi, output_path):
|
|||
clean_urls = []
|
||||
for u in urls:
|
||||
clean_urls.append("'" + u + "'")
|
||||
cmd = "wkhtmltopdf -L 0 -R 0 -T 0 -B 0 --disable-smart-shrinking --page-width %d --page-height %f -d %d %s '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,)
|
||||
cmd = "wkhtmltopdf -L 0 -R 0 -T 0 -B 0 --page-width %d --page-height %f -d %d %s '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,)
|
||||
# print cmd
|
||||
os.system(cmd)
|
||||
return output_path
|
||||
|
|
Loading…
Reference in New Issue
Block a user