File: 0003-Fix-method-invocation.patch

package info (click to toggle)
dioptas 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 163,396 kB
  • sloc: python: 28,770; makefile: 24; xml: 9; sh: 3
file content (21 lines) | stat: -rw-r--r-- 850 bytes parent folder | download
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