Skip to content

Commit

Permalink
style: Automatic code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 12, 2024
1 parent 6729b0b commit 3935afa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cuckoo/common/quarantine.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,11 @@ def unquarantine(f):
if quarfile:
return quarfile


if __name__ == "__main__":
import sys
import hashlib
import sys

tmp_path = unquarantine(sys.argv[1])
if tmp_path:
original = hashlib.sha256(open(sys.argv[1], "rb")).hexdigest()
Expand Down

0 comments on commit 3935afa

Please sign in to comment.