aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2020-10-17 16:00:29 -0700
committerArthur She <arthur.she@linaro.org>2020-10-17 16:00:29 -0700
commit4dc082339333bae074b4b189f2cb6abfd2aff167 (patch)
tree95f6b44ab53e01ae2c05d94c5b3ec95a83cb18de
parent25d03a786fab9f4160823d2b8ba219951b33d179 (diff)
igt: process file with utf-8 encoding
Signed-off-by: Arthur She <arthur.she@linaro.org>
-rwxr-xr-xautomated/linux/igt/print-test-result.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/igt/print-test-result.py b/automated/linux/igt/print-test-result.py
index ff8fd6a..626f219 100755
--- a/automated/linux/igt/print-test-result.py
+++ b/automated/linux/igt/print-test-result.py
@@ -31,7 +31,7 @@ if __name__ == '__main__':
"--json-file",
nargs='?',
default=sys.stdin,
- type=argparse.FileType('r'),
+ type=argparse.FileType('r', encoding='utf-8'),
help="Test result file in json format")
args = parser.parse_args()