Merge pull request #301 from romainrbr/devel

Changing the color option for hipchat to always be lowercase
This commit is contained in:
Matthew Jones 2017-09-28 21:16:21 -04:00 committed by GitHub
commit 480e20136a

View File

@ -26,7 +26,8 @@ class HipChatBackend(AWXBaseEmailBackend):
def __init__(self, token, color, api_url, notify, fail_silently=False, **kwargs):
super(HipChatBackend, self).__init__(fail_silently=fail_silently)
self.token = token
self.color = color
if color is not None:
self.color = color.lower()
self.api_url = api_url
self.notify = notify