aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-06-12 16:39:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 11:09:40 +0100
commit4510973fe12a61c21e12b46b8315c56f91eff5b7 (patch)
treedd8251f87591d44e38e2dd1f831fbfeabbaf380a /scripts
parente356cb7e7bfb407c2f3a1bd0f28b5f14beaff882 (diff)
downloadopenembedded-core-contrib-4510973fe12a61c21e12b46b8315c56f91eff5b7.tar.gz
send-error-report: decode response from server
Fixed: b'Your entry can be found here: http://<snip>' Now looks like: Your entry can be found here: http://<snip> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/send-error-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/send-error-report b/scripts/send-error-report
index 15b5e849119..cd2e7f4b9db 100755
--- a/scripts/send-error-report
+++ b/scripts/send-error-report
@@ -143,7 +143,7 @@ def send_data(data, args):
logging.error(e.reason)
sys.exit(1)
- print(response.read())
+ print(response.read().decode('utf-8'))
if __name__ == '__main__':