diff --git a/cronwrapper/__init__.py b/cronwrapper/__init__.py index cda5b1c..999dcd9 100755 --- a/cronwrapper/__init__.py +++ b/cronwrapper/__init__.py @@ -150,11 +150,11 @@ def print_runs(runs, clean=True): print("STDOUT:".format(run)) with open(os.path.join(run, 'stdout'), 'r') as f: for line in f: - print(line) + print(line.strip()) print("\nSTDERR:".format(run)) with open(os.path.join(run, 'stderr'), 'r') as f: for line in f: - print(line) + print(line.strip()) print("\n\n") if clean: for run in runs: