We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on Windows 10 guess_file_type() checking .webp file return tuple('', None) not tuple('image/webp', None)
guess_file_type()
.webp
tuple('', None)
tuple('image/webp', None)
The problem is db.read_windows_registry() overwrite default types_map .webp = 'image/webp' into .webp = ''
db.read_windows_registry()
.webp = 'image/webp'
.webp = ''
cpython/Lib/mimetypes.py
Lines 390 to 393 in 65da5db
3.11, 3.12, 3.13
Windows
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Bug description:
on Windows 10
guess_file_type()
checking.webp
file returntuple('', None)
nottuple('image/webp', None)
The problem is
db.read_windows_registry()
overwrite default types_map.webp = 'image/webp'
into.webp = ''
cpython/Lib/mimetypes.py
Lines 390 to 393 in 65da5db
CPython versions tested on:
3.11, 3.12, 3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: