Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
devonh committed Jul 25, 2024
1 parent 0bffb9e commit acc1ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matrix_content_scanner/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ async def _run_scan(self, file_name: str) -> int:

return retcode

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

0 comments on commit acc1ff6

Please sign in to comment.