Skip to content

Commit 94f93db

Browse files
authored
only append success message if file format is not CSV (#1003)
Signed-off-by: Michael Oviedo <mikeovi@amazon.com>
1 parent 232afd3 commit 94f93db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osbenchmark/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ def main():
13671367
message = message + f" (took {int(round(end - start))} seconds)"
13681368
console.println("")
13691369
console.info(message, overline="-", underline="-")
1370-
if hasattr(args, "results_file") and args.results_file:
1370+
if hasattr(args, "results_file") and args.results_file and getattr(args, "results_format", None) != "csv":
13711371
with open(args.results_file, "a") as fh:
13721372
print("\n", message, file=fh)
13731373

0 commit comments

Comments
 (0)