Fix lint
This commit is contained in:
parent
5b1cca92ab
commit
a7509d5978
@ -348,6 +348,7 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
js_ret = None
|
||||
|
||||
def js_cb(val):
|
||||
"""Handle return value from JS and stop blocking."""
|
||||
nonlocal js_ret
|
||||
js_ret = val
|
||||
loop.quit()
|
||||
|
@ -20,7 +20,6 @@
|
||||
import pytest
|
||||
|
||||
from PyQt5.QtCore import PYQT_VERSION, pyqtSignal, QPoint
|
||||
from PyQt5.QtGui import QColor
|
||||
|
||||
from qutebrowser.browser import browsertab
|
||||
from qutebrowser.keyinput import modeman
|
||||
|
Loading…
Reference in New Issue
Block a user