summaryrefslogtreecommitdiff
path: root/qutebrowser/misc/editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/misc/editor.py')
-rw-r--r--qutebrowser/misc/editor.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qutebrowser/misc/editor.py b/qutebrowser/misc/editor.py
index 3ef84284d..a4bc1d8ab 100644
--- a/qutebrowser/misc/editor.py
+++ b/qutebrowser/misc/editor.py
@@ -207,8 +207,7 @@ class ExternalEditor(QObject):
if not ok:
log.procs.error("Failed to watch path: {}"
.format(self._filename))
- self._watcher.fileChanged.connect( # type: ignore[attr-defined]
- self._on_file_changed)
+ self._watcher.fileChanged.connect(self._on_file_changed)
args = [self._sub_placeholder(arg, line, column) for arg in editor[1:]]
log.procs.debug("Calling \"{}\" with args {}".format(executable, args))