Ignore UTF-8 decoding errors. Closes #108
This commit is contained in:
parent
187ebdf999
commit
a59748574f
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class Buildozer(object):
|
|||
ret_stdout = b''.join(ret_stdout)
|
||||
if ret_stderr:
|
||||
ret_stderr = b''.join(ret_stderr)
|
||||
return (ret_stdout.decode('utf-8') if ret_stdout else None,
|
||||
return (ret_stdout.decode('utf-8', 'ignore') if ret_stdout else None,
|
||||
ret_stderr.decode('utf-8') if ret_stderr else None,
|
||||
process.returncode)
|
||||
|
||||
|
|
Loading…
Reference in a new issue