This commit is contained in:
Florian Bruhin 2016-09-05 10:56:49 +02:00
parent 2c2375ff18
commit 6a26907ded

View File

@ -68,8 +68,8 @@ class WebEngineView(QWebEngineView):
background = False
if wintype in [QWebEnginePage.WebBrowserWindow,
QWebEnginePage.WebDialog]:
log.webview.warning("{} requested, but we don't support that!".format(
debug_type))
log.webview.warning("{} requested, but we don't support "
"that!".format(debug_type))
elif wintype == QWebEnginePage.WebBrowserTab:
pass
elif (hasattr(QWebEnginePage, 'WebBrowserBackgroundTab') and