aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-20 12:40:26 +0000
committerGravatar jesopo2018-11-20 12:40:26 +0000
commitf507da3b9a05e8c77bc09851759bbc91a43452d7 (patch)
tree3f883b57290b2f301fbb56117abcd1c03fc1859e /modules/github.py
parentMixed unicode: Add Cherokee and Tai Le blocks (diff)
signature
'BLUE' -> 'LIGHTBLUE' branch name for `push` and `create` events (github.py)
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/github.py b/modules/github.py
index 3c7a0a72..f18db035 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -114,7 +114,7 @@ class Module(ModuleManager.BaseModule):
def push(self, event, full_name, data):
outputs = []
branch = data["ref"].split("/", 2)[2]
- branch = utils.irc.bold(utils.irc.color(branch, utils.consts.BLUE))
+ branch = utils.irc.color(branch, utils.consts.LIGHTBLUE)
if len(data["commits"]) <= 3:
for commit in data["commits"]:
@@ -217,7 +217,7 @@ class Module(ModuleManager.BaseModule):
def create(self, event, full_name, data):
ref = data["ref"]
- ref_color = utils.irc.color(ref, utils.consts.BLUE)
+ ref_color = utils.irc.color(ref, utils.consts.LIGHTBLUE)
type = data["ref_type"]
sender = utils.irc.bold(data["sender"]["login"])
url = CREATE_URL % (full_name, ref)