Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
Bug description:
on Windows 10guess_file_type() checking.webp file returntuple('', None) nottuple('image/webp', None)
The problem isdb.read_windows_registry() overwrite default types_map.webp = 'image/webp' into.webp = ''
Lines 390 to 393 in65da5db
| iffilesisNoneor_dbisNone: | |
| db=MimeTypes() | |
| # Quick return if not supported | |
| db.read_windows_registry() |
CPython versions tested on:
3.11, 3.12, 3.13
Operating systems tested on:
Windows