1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-26 00:11:28 +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
+2 -2
View File
@@ -54,7 +54,7 @@ class Reader(FormatReader):
if (self.header_record.flags & 0x01) == 0:
raise zTXTError('Only compression method 1 (random access) is supported')
self.log.debug('Foud ztxt version: %s.%s', vmajor, vminor)
self.log.debug('Foud ztxt version: %i.%i', vmajor, vminor)
# Initalize the decompressor
self.uncompressor = zlib.decompressobj()
@@ -73,7 +73,7 @@ class Reader(FormatReader):
self.log.info('Decompressing text...')
for i in range(1, self.header_record.num_records + 1):
self.log.debug('\tDecompressing text section %s', i)
self.log.debug('\tDecompressing text section %i', i)
raw_txt += self.decompress_text(i)
self.log.info('Converting text to OEB...')