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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user