just silly

This commit is contained in:
sanj 2010-07-28 23:12:48 +05:30
parent 03be400179
commit 8f60ee8c6e

View File

@ -4,6 +4,6 @@ def print_url_list(urls, width, height, output_path):
clean_urls = []
for u in urls:
clean_urls.append("'" + u + "'")
cmd = "wkhtmltopdf --page-width %d --page-height %d %s '%s'" % (width, height, " ".join(clean_urls), output_path,)
cmd = "wkhtmltopdf --page-width %d --page-height %d %s %s" % (width, height, " ".join(clean_urls), output_path,)
os.system(cmd)
return output_path