Merge pull request #112 from cbenhagen/patch-2
Ignore UTF-8 decoding errors. Closes #108
This commit is contained in:
commit
aba13fd265
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…
Add table
Reference in a new issue