X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fpal_utils.py;h=45fd2770480adeb7a8e6feb67c1583dc1f80c613;hp=5949432340c2526a435843eb69a0468be767947d;hb=b55e324d526e5b05baef015c3614b9743c955992;hpb=5147d3ac0844b31852a3c221759f31915744b1c7 diff --git a/resources/tools/presentation/pal_utils.py b/resources/tools/presentation/pal_utils.py index 5949432340..45fd277048 100644 --- a/resources/tools/presentation/pal_utils.py +++ b/resources/tools/presentation/pal_utils.py @@ -316,5 +316,5 @@ def convert_csv_to_pretty_txt(csv_file_name, txt_file_name): txt_table.add_row(row) txt_table.align[u"Test case"] = u"l" if txt_table: - with open(txt_file_name, u"w") as txt_file: + with open(txt_file_name, u"wt") as txt_file: txt_file.write(str(txt_table))