From e67549e4a1ebaf23d9994e75411670491087c44b Mon Sep 17 00:00:00 2001 From: Romain Brucker Date: Tue, 26 Sep 2017 11:32:05 -0500 Subject: [PATCH] Changing the color option for hipchat to always be lowercase (expected by the API) Signed-off-by: Romain Brucker --- awx/main/notifications/hipchat_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/notifications/hipchat_backend.py b/awx/main/notifications/hipchat_backend.py index e75fcbc296..30e22ae07f 100644 --- a/awx/main/notifications/hipchat_backend.py +++ b/awx/main/notifications/hipchat_backend.py @@ -38,7 +38,7 @@ class HipChatBackend(AWXBaseEmailBackend): r = requests.post("{}/v2/room/{}/notification".format(self.api_url, rcp), params={"auth_token": self.token}, verify=False, - json={"color": self.color, + json={"color": self.color.lower(), "message": m.subject, "notify": self.notify, "from": m.from_email,