Skip to content

Commit

Permalink
Merge pull request #132 from CybercentreCanada/improvements/update_so…
Browse files Browse the repository at this point in the history
…urces

Update relative to changes in service base
  • Loading branch information
cccs-rs authored Dec 12, 2024
2 parents f7a3d4d + f50b820 commit b3d73bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yara_/update_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def _inventory_check(self) -> bool:

return check_passed

def import_update(self, files_sha256, source_name: str, default_classification=classification.UNRESTRICTED):
def import_update(
self, files_sha256, source_name: str, default_classification=classification.UNRESTRICTED, *args, **kwargs
):
processed_files: set[str] = set()

with tempfile.NamedTemporaryFile(mode="a+", suffix=source_name) as compiled_file:
Expand Down

0 comments on commit b3d73bb

Please sign in to comment.