diff options
author | Arthur She <arthur.she@linaro.org> | 2020-10-17 16:00:29 -0700 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2020-10-17 16:00:29 -0700 |
commit | 4dc082339333bae074b4b189f2cb6abfd2aff167 (patch) | |
tree | 95f6b44ab53e01ae2c05d94c5b3ec95a83cb18de | |
parent | 25d03a786fab9f4160823d2b8ba219951b33d179 (diff) |
igt: process file with utf-8 encoding
Signed-off-by: Arthur She <arthur.she@linaro.org>
-rwxr-xr-x | automated/linux/igt/print-test-result.py | 2 |
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() |