1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Roland Mas <lolando@debian.org>
Date: Fri, 21 Mar 2025 17:51:19 +0100
Subject: Fix method invocation
---
dioptas/model/util/NewFileWatcher.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dioptas/model/util/NewFileWatcher.py b/dioptas/model/util/NewFileWatcher.py
index eec6fda..e0cdcf2 100644
--- a/dioptas/model/util/NewFileWatcher.py
+++ b/dioptas/model/util/NewFileWatcher.py
@@ -65,7 +65,7 @@ class NewFileInDirectoryWatcher(QtCore.QObject):
self.file_types = set(file_types)
self.patterns = ['*.' + file_type for file_type in file_types]
- self.event_handler = PatternMatchingEventHandler(self.patterns)
+ self.event_handler = PatternMatchingEventHandler(patterns=self.patterns)
self.event_handler.on_created = self.on_file_created
self.active = False
|