Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
frack113 committed Oct 28, 2021
1 parent c49b0d4 commit f4b1dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/sigma/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, expr):
self.minlevel = None
self.maxlevel = None
self.status = None
self.notstatus = None
self.notstatus = None
self.tlp = None
self.target = None
self.logsources = list()
Expand Down Expand Up @@ -125,7 +125,7 @@ def match(self, yamldoc):
return False # User wants status restriction, but it's not possible here
if status != self.status:
return False

if self.notstatus is not None:
try:
status = yamldoc['status']
Expand Down

0 comments on commit f4b1dcf

Please sign in to comment.