mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Add try block around APNX writing.
This commit is contained in:
parent
a6246c52ad
commit
3278370ed6
@ -218,7 +218,10 @@ class KINDLE2(KINDLE):
|
||||
|
||||
apnx_path = '%s.apnx' % os.path.join(path, filename)
|
||||
apnx_builder = APNXBuilder()
|
||||
apnx_builder.write_apnx(filepath, apnx_path)
|
||||
try:
|
||||
apnx_builder.write_apnx(filepath, apnx_path)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
class KINDLE_DX(KINDLE2):
|
||||
|
Loading…
x
Reference in New Issue
Block a user