We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6a47a commit fc4e9d0Copy full SHA for fc4e9d0
src/binexport/__main__.py
@@ -39,7 +39,7 @@ class Bcolors:
39
40
def recursive_file_iter(p: Path) -> Generator[Path, None, None]:
41
if p.is_file():
42
- mime_type = magic.from_file(p, mime=True)
+ mime_type = magic.from_file(str(p), mime=True)
43
if mime_type not in BINARY_FORMAT and p.suffix not in EXTENSIONS_WHITELIST.get(
44
mime_type, []
45
):
0 commit comments