Fix mypy
This commit is contained in:
parent
00b3bba99a
commit
6f9cf43d6d
|
|
@ -425,6 +425,7 @@ def _maybe_disable_hangouts_extension(profile: QWebEngineProfile) -> None:
|
|||
if not config.val.qt.workarounds.disable_hangouts_extension:
|
||||
return
|
||||
|
||||
if machinery.IS_QT6: # mypy
|
||||
try:
|
||||
ext_manager = profile.extensionManager()
|
||||
except AttributeError:
|
||||
|
|
|
|||
Loading…
Reference in New Issue