diff --git a/src/de/p1st/monitor/warn.py b/src/de/p1st/monitor/warn.py index dda402a..a98af61 100644 --- a/src/de/p1st/monitor/warn.py +++ b/src/de/p1st/monitor/warn.py @@ -67,9 +67,9 @@ class WarnMessage: def prefix(self) -> str: if self.level == WarnLevel.NONE: raise ValueError() - if self.level > WarnLevel.HIGH: + if self.level > WarnLevel.NORMAL: return f'[CRITICAL] {self.date}: ' - return f'{self.date}:' + return f'{self.date}: ' def file(self) -> TextIO: if self.level == WarnLevel.NONE: