Add a missing space in a warning message in filetype.py (#873)

Adds a missing space in a warning message in the filetype.py file.
This commit is contained in:
Johnny Lim 2023-07-02 05:54:39 +09:00 committed by GitHub
parent 5ea216cf07
commit 6ec177e7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
## 0.7.13-dev0
### Enhancements
### Features
### Fixes
## 0.7.12
### Enhancements

View File

@ -1 +1 @@
__version__ = "0.7.12" # pragma: no cover
__version__ = "0.7.13-dev0" # pragma: no cover

View File

@ -258,7 +258,7 @@ def detect_filetype(
mime_type = ft.guess_mime(file.read(4096))
if mime_type is None:
logger.warning(
"libmagic is unavailable but assists in filetype detection on file-like objects."
"libmagic is unavailable but assists in filetype detection on file-like objects. "
"Please consider installing libmagic for better results.",
)
return EXT_TO_FILETYPE.get(extension, FileType.UNK)