7595 Custom filters for note text repaired
This commit is contained in:
1 parent
3104900c21
commit
a2dbc495df
1 file changed
+1
-2
@@ -49,7 +49,6 @@ class MatchesRegexpOf(Rule):
|
||||
|
||||
def apply(self, db, note):
|
||||
""" Apply the filter """
|
||||
text = note.get()
|
||||
if self.match_substring(0, text) is not None:
|
||||
if self.match_substring(0, note.get()):
|
||||
return True
|
||||
return False
|
||||
Reference in new issue
Block a user