This commit is contained in:
Daniel Langbein 2023-06-21 19:36:55 +02:00
parent 3908d5129e
commit 5ba9b3cbcf

View File

@ -67,7 +67,7 @@ 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}: '