Skip to content

Commit

Permalink
[Filters][Fixed] The SimpleFilter class
Browse files Browse the repository at this point in the history
Adapted to use _regex
  • Loading branch information
set-soft committed Aug 14, 2024
1 parent 87f3323 commit add4700
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kibot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ def parse_global_redef(args):
class SimpleFilter(object):
def __init__(self, num, regex=''):
self.number = num
self.regex = re.compile(regex)
self._regex = re.compile(regex)
self.regex = regex
self.error = ''


Expand Down

0 comments on commit add4700

Please sign in to comment.