diff options
-rw-r--r-- | qutebrowser/utils/urlutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/utils/urlutils.py b/qutebrowser/utils/urlutils.py index f9eada254..76e3aa7b5 100644 --- a/qutebrowser/utils/urlutils.py +++ b/qutebrowser/utils/urlutils.py @@ -555,7 +555,7 @@ def same_domain(url1: QUrl, url2: QUrl) -> bool: # # There are no other callers of same_domain, and url2 will only be ever valid when # we use a NetworkManager from QtWebKit. However, QtWebKit is Qt 5 only. - assert machinery.IS_QT6, machinery.INFO + assert machinery.IS_QT5, machinery.INFO suffix1 = url1.topLevelDomain() # type: ignore[attr-defined,unused-ignore] suffix2 = url2.topLevelDomain() # type: ignore[attr-defined,unused-ignore] |