1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-17 03:33:31 +02:00

Re added (probably) right formating codes.

This commit is contained in:
2021-06-22 22:06:09 +02:00
parent 546cc26652
commit 84abd62a61
18 changed files with 39 additions and 58 deletions

View File

@@ -67,7 +67,7 @@ class DetectStructure(object):
self.oeb.toc = orig_toc
else:
self.oeb.auto_generated_toc = True
self.log.info('Auto generated TOC with %s entries.',
self.log.info('Auto generated TOC with %d entries.',
self.oeb.toc.count())
if opts.toc_filter is not None:
@@ -240,7 +240,7 @@ class DetectStructure(object):
play_order=self.oeb.toc.next_play_order())
num += 1
except ValueError:
self.oeb.log.critical('Failed to process link: %s',
self.oeb.log.critical('Failed to process link: %r',
href)
# Most likely an incorrectly URL encoded link
continue