Add try block around APNX writing.

This commit is contained in:
John Schember 2011-02-10 07:09:28 -05:00
parent a6246c52ad
commit 3278370ed6

View File

@ -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):