mirror of https://github.com/CIRCL/PyCIRCLean
fix: Support Python 3.6
parent
d0f7d1bf81
commit
f88a0c8291
|
@ -188,7 +188,7 @@ class File(FileBase):
|
|||
if self.extension in Config.override_ext:
|
||||
expected_mimetypes = Config.override_ext[self.extension]
|
||||
else:
|
||||
expected_mimetype, encoding = mimetypes.guess_type(self.src_path,
|
||||
expected_mimetype, encoding = mimetypes.guess_type(str(self.src_path),
|
||||
strict=False)
|
||||
|
||||
expected_mimetypes = [expected_mimetype]
|
||||
|
|
Loading…
Reference in New Issue