Skip to content

Commit

Permalink
Merge pull request #349 from jertel/patch-2
Browse files Browse the repository at this point in the history
python-magic needs a None value to use the default mime DB
  • Loading branch information
phutelmyer authored Mar 24, 2023
2 parents 1f4b12c + a253b72 commit 3384e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/strelka/strelka.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __init__(
)

self.compiled_magic = magic.Magic(
magic_file=backend_cfg.get("tasting", {}).get("mime_db", ""),
magic_file=backend_cfg.get("tasting", {}).get("mime_db", None),
mime=True,
)

Expand Down

0 comments on commit 3384e1f

Please sign in to comment.