From 21194d5d7508d1012be23fed16df7b746fb8fe6e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 7 Jul 2009 12:56:08 -0600 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/writer.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/calibre/ebooks/mobi/writer.py b/src/calibre/ebooks/mobi/writer.py index 36fa4befe0..a5b13e1437 100644 --- a/src/calibre/ebooks/mobi/writer.py +++ b/src/calibre/ebooks/mobi/writer.py @@ -1184,11 +1184,10 @@ class MobiWriter(object): child.klass == "section" and child.depth() != 2 or \ child.klass == "article" and child.depth() != 1 : - self._oeb.logger.info('Nonconforming TOC entry: "%s" found at depth %d' % \ + self._oeb.logger.warn('Nonconforming TOC entry: "%s" found at depth %d' % \ (child.klass, child.depth()) ) - self._oeb.logger.info(" : '%-25.25s...' \t\tklass=%-15.15s \tdepth:%d \tplayOrder=%03d" % \ + self._oeb.logger.warn(" <title>: '%-25.25s...' \t\tklass=%-15.15s \tdepth:%d \tplayOrder=%03d" % \ (child.title, child.klass, child.depth(), child.play_order) ) - self._oeb.logger.info("(Conforming: periodical at depth:3, section at depth:2, articles at depth:1)") toc_conforms = False # We also need to know that we have a pubdate or timestamp in the metadata, which the Kindle needs @@ -1226,7 +1225,7 @@ class MobiWriter(object): # Evaluate toc for conformance if self.opts.mobi_periodical : - self._oeb.logger.info(' evaluating TOC for periodical conformance ...') + self._oeb.logger.info(' MOBI periodical specified, evaluating TOC for periodical conformance ...') self._conforming_periodical_toc = self._evaluate_periodical_toc() # This routine decides whether to build flat or structured based on self._conforming_periodical_toc