Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/usegalaxy-au/WallE
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 15, 2024
2 parents 4ce5886 + a934a31 commit f08e0f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/walle.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def scan_file_for_malware(
)
if sha1 is None:
sha1 = digest_file_sha1(chunksize, file)
logger.debug(f"File {file} calculated SHA-1: {sha1}")
if malware.sha1 == sha1:
matches.append(malware)
else:
Expand Down

0 comments on commit f08e0f8

Please sign in to comment.