mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Removing superfluous code.
This commit is contained in:
parent
f293a76543
commit
9cf8c41b1c
@ -484,7 +484,6 @@ class KINDLE2(KINDLE):
|
|||||||
apnx_path = '%s.apnx' % os.path.join(path, filename)
|
apnx_path = '%s.apnx' % os.path.join(path, filename)
|
||||||
apnx_builder = APNXBuilder()
|
apnx_builder = APNXBuilder()
|
||||||
### Check to see if there is an existing apnx file on Kindle we should keep.
|
### Check to see if there is an existing apnx file on Kindle we should keep.
|
||||||
apnx_file = '%s.apnx' % os.path.splitext(filepath.lower())[0]
|
|
||||||
if not opts.extra_customization[self.OPT_APNX_OVERWRITE] and os.path.isfile(apnx_path):
|
if not opts.extra_customization[self.OPT_APNX_OVERWRITE] and os.path.isfile(apnx_path):
|
||||||
pass #do nothing, existing apnx file on the kindle is kept
|
pass #do nothing, existing apnx file on the kindle is kept
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user