.
This commit is contained in:
parent
70fa282d17
commit
e776b1ab66
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ def print_url_list(urls, width, height, dpi, output_path):
|
||||||
clean_urls = []
|
clean_urls = []
|
||||||
for u in urls:
|
for u in urls:
|
||||||
clean_urls.append(u)
|
clean_urls.append(u)
|
||||||
cmd = "wkhtmltopdf --page-width %d --page-height %d -d %d %s '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,)
|
cmd = "wkhtmltopdf --page-width %d --page-height %d -d %d '%s' '%s'" % (width, height, dpi, " ".join(clean_urls), output_path,)
|
||||||
# print cmd
|
# print cmd
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
return output_path
|
return output_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue