summaryrefslogtreecommitdiff
path: root/qutebrowser/commands/userscripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/commands/userscripts.py')
-rw-r--r--qutebrowser/commands/userscripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/commands/userscripts.py b/qutebrowser/commands/userscripts.py
index c7ed7e419..fcab83e0a 100644
--- a/qutebrowser/commands/userscripts.py
+++ b/qutebrowser/commands/userscripts.py
@@ -62,7 +62,7 @@ class _QtFIFOReader(QObject):
# pylint: enable=no-member,useless-suppression
self._fifo = os.fdopen(fd, 'r')
self._notifier = QSocketNotifier(cast(sip.voidptr, fd),
- QSocketNotifier.Read, self)
+ QSocketNotifier.Type.Read, self)
self._notifier.activated.connect( # type: ignore[attr-defined]
self.read_line)