1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

simplify cover upload on newer MTP based Kindles by replacing EBOK with PDOC (#767)

* simplify covers by replacing ebok with pdoc

* refactor

* fix order
This commit is contained in:
Alex Xu
2024-11-07 21:53:59 -08:00
committed by GitHub
parent 421e6bcb64
commit 78c014bf22
4 changed files with 17 additions and 7 deletions

View File

@@ -380,7 +380,7 @@ class WorkerThread(QtCore.QThread):
except Exception:
pass
MW.addMessage.emit('Processing MOBI files... <b>Done!</b>', 'info', True)
k = kindle.Kindle()
k = kindle.Kindle(options.profile)
if k.path and k.coverSupport:
for item in outputPath:
comic2ebook.options.covers[outputPath.index(item)][0].saveToKindle(