From d1870eaba94b6de0aa83313a904cb35882052138 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 1 May 2014 21:21:59 +0530 Subject: [PATCH] pep8 --- src/calibre/ebooks/mobi/reader/mobi8.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/mobi/reader/mobi8.py b/src/calibre/ebooks/mobi/reader/mobi8.py index 5cb3229364..d871517178 100644 --- a/src/calibre/ebooks/mobi/reader/mobi8.py +++ b/src/calibre/ebooks/mobi/reader/mobi8.py @@ -139,7 +139,7 @@ class Mobi8Reader(object): for i, ref_type in enumerate(table.iterkeys()): tag_map = table[ref_type] - # ref_type, ref_title, div/frag number + # ref_type, ref_title, div/frag number title = cncx[tag_map[1][0]] fileno = None if 3 in tag_map.keys(): @@ -193,7 +193,7 @@ class Mobi8Reader(object): if not inspos_warned: self.log.warn( 'The div table for %s has incorrect insert ' - 'positions. Calculating manually.'%skelname) + 'positions. Calculating manually.'%skelname) inspos_warned = True bp, ep = locate_beg_end_of_tag(skeleton, aidtext if isinstance(aidtext, bytes) else aidtext.encode('utf-8')) @@ -539,4 +539,3 @@ class Mobi8Reader(object): parent.add_item(href, frag, text) current_depth = depth return ans -