mirror of
https://codeberg.org/privacy1st/de-p1st-monitor
synced 2024-11-21 19:33:18 +01:00
fix
This commit is contained in:
parent
3908d5129e
commit
5ba9b3cbcf
@ -67,7 +67,7 @@ class WarnMessage:
|
|||||||
def prefix(self) -> str:
|
def prefix(self) -> str:
|
||||||
if self.level == WarnLevel.NONE:
|
if self.level == WarnLevel.NONE:
|
||||||
raise ValueError()
|
raise ValueError()
|
||||||
if self.level > WarnLevel.HIGH:
|
if self.level > WarnLevel.NORMAL:
|
||||||
return f'[CRITICAL] {self.date}: '
|
return f'[CRITICAL] {self.date}: '
|
||||||
return f'{self.date}: '
|
return f'{self.date}: '
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user