summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2022-07-30 17:06:38 +1200
committertoofar <toofar@spalge.com>2022-07-30 17:06:38 +1200
commitcd49f6553ea5a9bfee5423e10afc9bf65648cfa6 (patch)
tree4bf2b5c04163c19626dafb2e575a308b4db5c289
parent164d75c8820d88e68f8629c7e0166c352070abe8 (diff)
downloadqutebrowser-cd49f6553ea5a9bfee5423e10afc9bf65648cfa6.tar.gz
qutebrowser-cd49f6553ea5a9bfee5423e10afc9bf65648cfa6.zip
fixup! Fix make earlyinit and version PyQt version independant
-rw-r--r--qutebrowser/utils/qtutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/utils/qtutils.py b/qutebrowser/utils/qtutils.py
index 3868fe9ed..1de453d40 100644
--- a/qutebrowser/utils/qtutils.py
+++ b/qutebrowser/utils/qtutils.py
@@ -115,7 +115,7 @@ MAX_WORLD_ID = 256
def is_new_qtwebkit() -> bool:
"""Check if the given version is a new QtWebKit."""
- assert qWebKitVersion is not None
+ assert qWebKitVersion() is not None
return (utils.VersionNumber.parse(qWebKitVersion()) >
utils.VersionNumber.parse('538.1'))