Skip to content

Commit acc1ff6

Browse files
committed
Fix linter error
1 parent 0bffb9e commit acc1ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/matrix_content_scanner/scanner/scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ async def _run_scan(self, file_name: str) -> int:
493493

494494
return retcode
495495

496-
def _check_mimetype(self,media_content: bytes) -> None:
496+
def _check_mimetype(self, media_content: bytes) -> None:
497497
"""Detects the MIME type of the provided bytes, and checks that this type is allowed
498498
(if an allow list is provided in the configuration)
499499
Args:

0 commit comments

Comments
 (0)