mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Only upload APNX for Kindle devices
This commit is contained in:
parent
8a2b027e39
commit
35f701fb9f
@ -545,6 +545,7 @@ class MTP_DEVICE(BASE):
|
||||
try:
|
||||
self.upload_cover(parent, relpath, storage, mi, stream)
|
||||
# Upload the apnx file
|
||||
if self.is_kindle:
|
||||
self.upload_apnx(parent, fname, storage, mi, infile)
|
||||
except Exception:
|
||||
import traceback
|
||||
|
Loading…
x
Reference in New Issue
Block a user