Fix lint.
This commit is contained in:
parent
a3776e361b
commit
c310156dde
@ -29,7 +29,8 @@ from PyQt5.QtWebKit import QWebSettings
|
|||||||
from PyQt5.QtWebKitWidgets import QWebView
|
from PyQt5.QtWebKitWidgets import QWebView
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEngineSettings
|
# pylint: disable=no-name-in-module,import-error
|
||||||
|
from PyQt5.QtWebEngineWidgets import QWebEngineView
|
||||||
WEBENGINE = True
|
WEBENGINE = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
WEBENGINE = False
|
WEBENGINE = False
|
||||||
|
Loading…
Reference in New Issue
Block a user