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:
Eli Schwartz 2021-10-20 20:28:33 -04:00
parent 34f3033444
commit e794b388b4
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6

View File

@ -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'))