Skip to content

Commit

Permalink
sync render_to_file call with webkit2png.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zigazou committed Feb 9, 2015
1 parent fcaa57f commit 17b65d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webkit2png/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def __main_qt():
if "plugins" in options.features:
renderer.qWebSettings[QWebSettings.PluginsEnabled] = True

renderer.render_to_file(url=options.url, file_object=options.output)
renderer.render_to_file(res=options.url, file_object=options.output)
options.output.close()
QApplication.exit(0)
except RuntimeError, e:
Expand Down

0 comments on commit 17b65d5

Please sign in to comment.