Skip to content

Commit f231376

Browse files
author
Juhani Puurula
committed
Remove decode call from report content write
1 parent e1a3eea commit f231376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mbed-greentea/mbed_greentea/mbed_greentea_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ def dump_report_to_text_file(filename, content):
983983
"""
984984
try:
985985
with io.open(filename, encoding="utf-8", errors="backslashreplace", mode="w") as f:
986-
f.write(content.decode('utf-8'))
986+
f.write(content)
987987
except IOError as e:
988988
gt_logger.gt_log_err("can't export to '%s', reason:"% filename)
989989
gt_logger.gt_log_err(str(e))

0 commit comments

Comments
 (0)