strip reports

This commit is contained in:
əlemi 2022-01-19 03:20:33 +01:00
parent 657aa767c5
commit 7bfb53dcc3

View file

@ -11,7 +11,7 @@ class Notifier:
return fn return fn
def report(self) -> str: 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): def notify(self, text, **kwargs):
print(text) print(text)