fix " "
This commit is contained in:
parent
09a890a04a
commit
876b3901a5
2
main.py
2
main.py
|
@ -51,7 +51,7 @@ async def dashboard():
|
||||||
for new_alert in new_alerts_id:
|
for new_alert in new_alerts_id:
|
||||||
message = (
|
message = (
|
||||||
icon_dict[active_alerts[new_alert]["severity"]]
|
icon_dict[active_alerts[new_alert]["severity"]]
|
||||||
+ f"{active_alerts[new_alert]['host']}\n"
|
+ f" {active_alerts[new_alert]['host']}\n"
|
||||||
+ f"{active_alerts[new_alert]['name']}"
|
+ f"{active_alerts[new_alert]['name']}"
|
||||||
)
|
)
|
||||||
msg_id = await send_message(message=message, event_id=new_alert)
|
msg_id = await send_message(message=message, event_id=new_alert)
|
||||||
|
|
Loading…
Reference in New Issue