mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Books from the Tolino Cloud are EPUBs (not KEPUBs).
Add MimeType 'application/epub+zip' so that these books are also being listed.
This commit is contained in:
parent
1c5c36b1d7
commit
2ac0d0fcf0
@ -716,7 +716,7 @@ class KOBO(USBMS):
|
||||
# for calibre's reference
|
||||
path = self._main_prefix + path + '.kobo'
|
||||
# print "Path: " + path
|
||||
elif (ContentType == "6" or ContentType == "10") and MimeType == 'application/x-kobo-epub+zip':
|
||||
elif (ContentType == "6" or ContentType == "10") and (MimeType == 'application/x-kobo-epub+zip' or MimeType == 'application/epub+zip'):
|
||||
if path.startswith("file:///mnt/onboard/"):
|
||||
path = self._main_prefix + path.replace("file:///mnt/onboard/", '')
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user