do not notify on portal disabled
This commit is contained in:
parent
bfc2cbd3f3
commit
4fddbb2fc8
|
@ -201,9 +201,7 @@ async def check_health():
|
||||||
message = ""
|
message = ""
|
||||||
force_notify = False
|
force_notify = False
|
||||||
|
|
||||||
if json_check["disabled"]:
|
if server_down and json_check["disabled"] == False:
|
||||||
message += "__Portal manually disabled!__ "
|
|
||||||
elif server_down:
|
|
||||||
message += "__Portal down!!!__ "
|
message += "__Portal down!!!__ "
|
||||||
force_notify = True
|
force_notify = True
|
||||||
|
|
||||||
|
|
Reference in New Issue