Skip to content

Commit

Permalink
finished nohash
Browse files Browse the repository at this point in the history
  • Loading branch information
alhumaw authored and jshcodes committed Jul 16, 2024
1 parent d12ddd1 commit 169b666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misp_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def parse_command_line() -> Namespace:
parsed.reports = True
parsed.indicators = True

if parsed.no_hashes:
if parsed.nohash:
hash_exclude = ["HASH_MD5", "HASH_SHA1", "HASH_SHA256"]
parsed.type = ",".join(
[it.name for it in IndicatorType if it.name not in hash_exclude])
Expand Down

0 comments on commit 169b666

Please sign in to comment.