Fix lint.

This commit is contained in:
Florian Bruhin 2015-06-12 11:22:37 +02:00
parent ea1921defd
commit 8ecc3a3bb0

View File

@ -1572,8 +1572,8 @@ class CommandDispatcher:
Args: Args:
js_code: The string to evaluate. js_code: The string to evaluate.
""" """
out = self._current_widget().page().mainFrame().evaluateJavaScript( frame = self._current_widget().page().mainFrame()
js_code) out = frame.evaluateJavaScript(js_code)
if out is None: if out is None:
# Getting the actual error (if any) seems to be difficult. The # Getting the actual error (if any) seems to be difficult. The