mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #301 from romainrbr/devel
Changing the color option for hipchat to always be lowercase
This commit is contained in:
commit
480e20136a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user