Skip to content

Commit

Permalink
Remove redundant if
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasarus committed Jul 22, 2024
1 parent 91615d1 commit 6fb50a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rundetection/rules/osiris_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ def _determine_mode(
def verify(self, job_request: JobRequest) -> None:
if not self._value:
return
# Added this so we can turn the rule off
if self._value is False:
return
mode = self._determine_mode(
job_request.additional_values["phase10"],
job_request.additional_values["phase6"],
Expand Down

0 comments on commit 6fb50a1

Please sign in to comment.