From 9cf8c41b1ca108537e0351752b8b5bd7a8324107 Mon Sep 17 00:00:00 2001 From: "Br. Samuel Springuel" Date: Sat, 30 Aug 2014 09:56:10 -0400 Subject: [PATCH] Removing superfluous code. --- src/calibre/devices/kindle/driver.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/devices/kindle/driver.py b/src/calibre/devices/kindle/driver.py index ab504eea0a..bf31ee0836 100644 --- a/src/calibre/devices/kindle/driver.py +++ b/src/calibre/devices/kindle/driver.py @@ -484,7 +484,6 @@ class KINDLE2(KINDLE): apnx_path = '%s.apnx' % os.path.join(path, filename) apnx_builder = APNXBuilder() ### 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): pass #do nothing, existing apnx file on the kindle is kept else: