diff --git a/python/pipeline/profiler.py b/python/pipeline/profiler.py index bf96bcbd43c0c0397427939b4f2737b68b2be8a6..49eabf5b318789823073154dd3f8ad38e18638a1 100644 --- a/python/pipeline/profiler.py +++ b/python/pipeline/profiler.py @@ -58,7 +58,7 @@ class TimeProfiler(object): print_str += "{}_{}:{} ".format(name, tag, timestamp) else: tmp[name] = (tag, timestamp) - print_str += "\n" + print_str = "\n{}\n".format(print_str) sys.stderr.write(print_str) for name, item in tmp.items(): tag, timestamp = item