1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-12 16:33:34 +02:00

Removed polyglots unicode_type usage

This commit is contained in:
2020-04-20 19:25:28 +02:00
parent ef7e2b10be
commit 128705f258
130 changed files with 657 additions and 716 deletions

View File

@@ -12,8 +12,6 @@
#########################################################################
import sys
from ebook_converter.polyglot.builtins import unicode_type
from . import open_for_read
@@ -138,7 +136,7 @@ class OldRtf:
if self.__run_level > 3:
sys.stderr.write(
'Old rtf construction %s (bracket %s, line %s)\n' % (
self.__inline_info, unicode_type(self.__ob_group), line_num)
self.__inline_info, str(self.__ob_group), line_num)
)
return True
self.__previous_token = line[6:16]