This commit is contained in:
Miroslav Stampar
2019-08-20 00:35:13 +02:00
parent 5f411f73e7
commit 65b0dbd4c4
2 changed files with 3 additions and 1 deletions

View File

@@ -184,6 +184,8 @@ class AnsiToWin32(object):
if not (err.errno == 0 and retry > 0):
raise
self._write(text, retry-1)
except UnicodeError:
self.wrapped.write('?')
def convert_ansi(self, paramstring, command):
if self.convert: