From e1fecd666f90dfa5aa39563b93eae71555b9df01 Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Fri, 1 Oct 2021 15:02:58 +0200 Subject: [PATCH] All Colors Are Beautiful --- papi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papi/main.py b/papi/main.py index 05f9bf8..6ccdf87 100644 --- a/papi/main.py +++ b/papi/main.py @@ -108,7 +108,7 @@ def list_notification_as_text(request: Request, idsonde: str): status = content["status"] def coloriser(message): - d = {"error": "red", "warning": "orange", "pending": "blue"} + d = {"error": "red", "warning": "orange", "pending": "yellow", "ok": "green"} for k, v in d.items(): if message.endswith(k): return "color: %s;" % v