Skip to content

Commit

Permalink
Fix: wrong image extension when classification is not based on magic (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 authored Sep 7, 2023
1 parent 4be2ae3 commit 62faee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karton/classifier/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def zip_has_mac_app() -> bool:
return sample_class

if extension in image_assoc.keys():
sample_class.update({"kind": "misc", "extension": ext})
sample_class.update({"kind": "misc", "extension": extension})
return sample_class

# Is Disk image?
Expand Down

0 comments on commit 62faee9

Please sign in to comment.