From 51c6366416694fe151fdcea3d9da7a06a08f7ef1 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 22 Aug 2023 16:49:15 +0200 Subject: [PATCH] fix --- src/depot/publishers/woblink.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/depot/publishers/woblink.py b/src/depot/publishers/woblink.py index 82a43753..c373d81c 100644 --- a/src/depot/publishers/woblink.py +++ b/src/depot/publishers/woblink.py @@ -580,8 +580,7 @@ class Woblink(BasePublisher): woblink_id, doc.meta.url.slug + '.epub', content, - 'UploadEpub', - 'epub', + 'Epub', 'application/epub+zip' ) demo_id = self.generate_demo(woblink_id, 'epub') @@ -597,8 +596,7 @@ class Woblink(BasePublisher): woblink_id, doc.meta.url.slug + '.mobi', content, - 'UploadMobi', - 'mobi', + 'Mobi', 'application/x-mobipocket-ebook' ) demo_id = self.generate_demo(woblink_id, 'mobi', check=False) @@ -616,8 +614,7 @@ class Woblink(BasePublisher): woblink_id, doc.meta.url.slug + '.jpeg', content, - 'UploadCover', - 'cover', + 'Cover', cover.mime_type() ) return file_id -- 2.20.1