Skip to content

Commit

Permalink
Merge pull request #466 from CybercentreCanada/Yara_prescript-fix
Browse files Browse the repository at this point in the history
Yara_prescript fix[dev]
  • Loading branch information
cccs-mog authored Sep 20, 2024
2 parents 085b75f + ce270ca commit 5553700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cape/cape_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ def execute(self, request: ServiceRequest) -> None:

def _load_rules(self):
# Generate root directory for yara rules.
if self.rules_directory is None:
return
yara_root = os.path.join(self.rules_directory, "cape")
errors = {}

Expand Down

0 comments on commit 5553700

Please sign in to comment.