Fix missing self. reference.

This commit is contained in:
John Schember 2009-07-12 20:44:43 -04:00
parent bfaa45c563
commit 3e3e6a2348
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class Writer(FormatWriter):
writer = TXTMLizer(log)
txt = writer.extract_content(oeb_book, opts)
log.debug('\tReplacing newlines with selected type...')
self.log.debug('\tReplacing newlines with selected type...')
txt = specified_newlines(TxtNewlines(opts.newline).newline, txt).encode(self.opts.output_encoding, 'replace')
txt_length = len(txt)

View File

@ -53,7 +53,7 @@ class Writer(FormatWriter):
writer = TXTMLizer(log)
txt = writer.extract_content(oeb_book, opts)
log.debug('\tReplacing newlines with selected type...')
self.log.debug('\tReplacing newlines with selected type...')
txt = specified_newlines(TxtNewlines(opts.newline).newline, txt).encode(self.opts.output_encoding, 'replace')
txt_length = len(txt)