From eb02c9e5d480a8f0fc20a3a801906af12bffdf8d Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 25 Feb 2025 12:49:31 +0100 Subject: [PATCH] Fix to use common djvu mimetype --- cps/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/__init__.py b/cps/__init__.py index 526d431f..96a17b73 100644 --- a/cps/__init__.py +++ b/cps/__init__.py @@ -64,8 +64,8 @@ mimetypes.add_type('application/x-cbr', '.cbr') mimetypes.add_type('application/x-cbz', '.cbz') mimetypes.add_type('application/x-tar', '.cbt') mimetypes.add_type('application/x-7z-compressed', '.cb7') -mimetypes.add_type('image/vnd.djv', '.djv') -mimetypes.add_type('image/vnd.djv', '.djvu') +mimetypes.add_type('image/vnd.djvu', '.djv') +mimetypes.add_type('image/vnd.djvu', '.djvu') mimetypes.add_type('application/mpeg', '.mpeg') mimetypes.add_type('audio/mpeg', '.mp3') mimetypes.add_type('audio/x-m4a', '.m4a')