Fix sip.assign check

This commit is contained in:
Florian Bruhin 2017-02-08 22:27:49 +01:00
parent 0897e8e5ad
commit b5ab3adc8c

View File

@ -660,7 +660,7 @@ class WebEngineTab(browsertab.AbstractTab):
try:
# pylint: disable=no-member
sip.assign(authenticator, QAuthenticator())
except NameError:
except AttributeError:
# WORKAROUND for
# https://www.riverbankcomputing.com/pipermail/pyqt/2016-December/038400.html
url_string = url.toDisplayString()