diff options
| author | 2018-11-20 12:40:26 +0000 | |
|---|---|---|
| committer | 2018-11-20 12:40:26 +0000 | |
| commit | f507da3b9a05e8c77bc09851759bbc91a43452d7 (patch) | |
| tree | 3f883b57290b2f301fbb56117abcd1c03fc1859e /modules/github.py | |
| parent | Mixed 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.py | 4 |
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) |
