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 0bffb9e commit acc1ff6Copy full SHA for acc1ff6
src/matrix_content_scanner/scanner/scanner.py
@@ -493,7 +493,7 @@ async def _run_scan(self, file_name: str) -> int:
493
494
return retcode
495
496
- def _check_mimetype(self,media_content: bytes) -> None:
+ def _check_mimetype(self, media_content: bytes) -> None:
497
"""Detects the MIME type of the provided bytes, and checks that this type is allowed
498
(if an allow list is provided in the configuration)
499
Args:
0 commit comments