diff options
Diffstat (limited to 'qutebrowser/commands/userscripts.py')
-rw-r--r-- | qutebrowser/commands/userscripts.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qutebrowser/commands/userscripts.py b/qutebrowser/commands/userscripts.py index 8282aa7c7..c776324ac 100644 --- a/qutebrowser/commands/userscripts.py +++ b/qutebrowser/commands/userscripts.py @@ -63,8 +63,7 @@ class _QtFIFOReader(QObject): self._fifo = os.fdopen(fd, 'r') self._notifier = QSocketNotifier(cast(sip.voidptr, fd), QSocketNotifier.Read, self) - self._notifier.activated.connect( # type: ignore[attr-defined] - self.read_line) + self._notifier.activated.connect(self.read_line) @pyqtSlot() def read_line(self): |