7595 Custom filters for note text repaired
This commit is contained in:
parent
cdee00aca2
commit
8e341f96b7
@ -49,7 +49,6 @@ class MatchesRegexpOf(Rule):
|
|||||||
|
|
||||||
def apply(self, db, note):
|
def apply(self, db, note):
|
||||||
""" Apply the filter """
|
""" Apply the filter """
|
||||||
text = note.get()
|
if self.match_substring(0, note.get()):
|
||||||
if self.match_substring(0, text) is not None:
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user