From 7bfb53dcc3c812143c028082152f740e4b542b3e Mon Sep 17 00:00:00 2001 From: alemidev Date: Wed, 19 Jan 2022 03:20:33 +0100 Subject: [PATCH] strip reports --- treepuncher/notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treepuncher/notifier.py b/treepuncher/notifier.py index ea51317..487f063 100644 --- a/treepuncher/notifier.py +++ b/treepuncher/notifier.py @@ -11,7 +11,7 @@ class Notifier: return fn def report(self) -> str: - return '\n'.join(fn() for fn in self._report_functions) + return '\n'.join(str(fn()).strip() for fn in self._report_functions) def notify(self, text, **kwargs): print(text)