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