Added "Not " prefix to negation filter names.

This commit is contained in:
Salvador E. Tropea 2020-09-05 18:56:01 -03:00
parent 6800a747e6
commit 1163d28e71
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class NotFilter(Registrable):
""" A filter that returns the inverted result """
def __init__(self, filter):
super().__init__()
self.name = filter.name
self.name = 'Not '+filter.name
self.type = '!'+filter.type
self.comment = filter.comment
self._filter = filter