fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
817ce22
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 22 Aug 2023 14:49:15 +0000
(16:49 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 22 Aug 2023 14:49:15 +0000
(16:49 +0200)
src/depot/publishers/woblink.py
patch
|
blob
|
history
diff --git
a/src/depot/publishers/woblink.py
b/src/depot/publishers/woblink.py
index
82a4375
..
c373d81
100644
(file)
--- 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,
woblink_id,
doc.meta.url.slug + '.epub',
content,
- 'UploadEpub',
- 'epub',
+ 'Epub',
'application/epub+zip'
)
demo_id = self.generate_demo(woblink_id, '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,
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)
'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,
woblink_id,
doc.meta.url.slug + '.jpeg',
content,
- 'UploadCover',
- 'cover',
+ 'Cover',
cover.mime_type()
)
return file_id
cover.mime_type()
)
return file_id