Minor updates for relayouting agsa with Pixel 5 profile
Change-Id: I2cb7ef37bc88ea08a7686719aac145ae541bbcf8
diff --git a/tools/toolhelper.py b/tools/toolhelper.py
index c728953..881f6dc 100644
--- a/tools/toolhelper.py
+++ b/tools/toolhelper.py
@@ -63,10 +63,10 @@
stdout, stderr = proc.communicate()
finally:
timer.cancel()
- result = stdout if return_stdout else proc.returncode
+ result = stdout.decode('utf-8') if return_stdout else proc.returncode
else:
result = (
- subprocess.check_output(cmd)
+ subprocess.check_output(cmd).decode('utf-8')
if return_stdout
else subprocess.call(cmd, stdout=stdout, stderr=stderr))
duration = int((time.time() - start) * 1000)