diff --git a/tools/stats/gsummary.py b/tools/stats/gsummary.py index 44ea737d672..276a30f9349 100755 --- a/tools/stats/gsummary.py +++ b/tools/stats/gsummary.py @@ -59,7 +59,7 @@ def main(): except Exception: pass - tmp_file = tempfile.NamedTemporaryFile('w+b') + tmp_file = tempfile.NamedTemporaryFile('w+') # Write the R header row to the temporary file hdr_str = "\t".join("c%s" % str(col + 1) for col in cols) tmp_file.write("%s\n" % hdr_str)