diff options
author | Raphael Lullis | 2022-11-21 00:03:21 +0100 |
---|---|---|
committer | GitHub | 2022-11-20 16:03:21 -0700 |
commit | a351c6b1175937f53fb208fbeaa1d39bf8a2fb72 (patch) | |
tree | 47ef5aea106a40c72b07413317f162f667dcd00b /core | |
parent | 61ce62b02627414e5d4c65d32146ba8dc89421c4 (diff) | |
download | takahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.tar.gz takahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.tar.bz2 takahe-a351c6b1175937f53fb208fbeaa1d39bf8a2fb72.zip |
Fix mimetype for JPEG file extensions (#25)
Diffstat (limited to 'core')
-rw-r--r-- | core/ld.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ def media_type_from_filename(filename): if extension == ".png": return "image/png" elif extension in [".jpg", ".jpeg"]: - return "image/png" + return "image/jpeg" elif extension == ".gif": return "image/gif" elif extension == ".apng": |