mirror of https://github.com/CIRCL/PyCIRCLean
Removed print statement when overriding ext.
parent
5be5d5212c
commit
3c2b98e91b
|
@ -202,7 +202,6 @@ class File(FileBase):
|
||||||
if self.extension in Config.override_ext:
|
if self.extension in Config.override_ext:
|
||||||
expected_mimetypes = Config.override_ext[self.extension]
|
expected_mimetypes = Config.override_ext[self.extension]
|
||||||
encoding = None
|
encoding = None
|
||||||
print('OVERRIDE:'+ self.extension + ' '+ self.mimetype +' => '+expected_mimetypes)
|
|
||||||
self.mimetype = expected_mimetypes
|
self.mimetype = expected_mimetypes
|
||||||
else:
|
else:
|
||||||
expected_mimetype, encoding = mimetypes.guess_type(str(self.src_path),
|
expected_mimetype, encoding = mimetypes.guess_type(str(self.src_path),
|
||||||
|
|
Loading…
Reference in New Issue