mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-05 21:05:17 +01:00
[SBNOutput] Change debug log position to avoid confusion.
This commit is contained in:
parent
3ec09a3b40
commit
3c0673dcf5
1 changed files with 1 additions and 1 deletions
|
|
@ -166,8 +166,8 @@ def convert(self, oeb_book, output_path, input_plugin, opts, log):
|
|||
log.debug('File %s is unused in TOC. Continue in last chapter' % item.href)
|
||||
mergeLast = True
|
||||
else:
|
||||
log.debug('Output the modified chapter again: %s' % lastName)
|
||||
if oldTree != None and mergeLast:
|
||||
log.debug('Output the modified chapter again: %s' % lastName)
|
||||
outputFile = open(os.path.join(snbcDir, lastName), 'wb')
|
||||
outputFile.write(etree.tostring(oldTree, pretty_print=True, encoding='utf-8'))
|
||||
outputFile.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue