just silly
This commit is contained in:
parent
8f60ee8c6e
commit
7316898e56
|
@ -3,7 +3,7 @@ import os
|
|||
def print_url_list(urls, width, height, output_path):
|
||||
clean_urls = []
|
||||
for u in urls:
|
||||
clean_urls.append("'" + u + "'")
|
||||
clean_urls.append(u)
|
||||
cmd = "wkhtmltopdf --page-width %d --page-height %d %s %s" % (width, height, " ".join(clean_urls), output_path,)
|
||||
os.system(cmd)
|
||||
return output_path
|
||||
|
|
Loading…
Reference in New Issue
Block a user