mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix incorrect log message referencing python type alias
During porting work, this got changed from "Unicode" to "unicode_type", which was wrong.
This commit is contained in:
parent
34f3033444
commit
e794b388b4
@ -164,7 +164,7 @@ class ReBinary:
|
|||||||
try:
|
try:
|
||||||
value = codepoint_to_chr(value)
|
value = codepoint_to_chr(value)
|
||||||
except OverflowError:
|
except OverflowError:
|
||||||
self.logger.warn('unicode_type overflow for integer:', value)
|
self.logger.warn('Unicode overflow for integer:', value)
|
||||||
value = u'?'
|
value = u'?'
|
||||||
self.buf.write(value.encode('utf-8'))
|
self.buf.write(value.encode('utf-8'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user