GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 42a9e648 authored by Zixian Cai's avatar Zixian Cai

Decode bytes to str

parent 5b6ed07c
......@@ -69,9 +69,9 @@ def run_in_subproc(cmd, env=None, **kwds):
if settings.REDIRECT_SUBPROC:
print('---------------- stdout ----------------')
print(so)
print(str(so, encoding='utf-8'))
print('---------------- stderr ----------------')
print(se)
print(str(se, encoding='utf=8'))
res = SimpleNamespace(stdout=str(so, encoding='utf-8'),
stderr=str(se, encoding='utf=8'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment