Make branch names blue AND bold! (github.py)
This commit is contained in:
parent
7b430a71b0
commit
fd805a07db
1 changed files with 3 additions and 2 deletions
|
@ -113,8 +113,9 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def push(self, event, full_name, data):
|
||||
outputs = []
|
||||
branch = utils.irc.color(data["ref"].split("/", 2)[2],
|
||||
utils.consts.BLUE)
|
||||
branch = data["ref"].split("/", 2)[2]
|
||||
branch = utils.irc.bold(utils.irc.color(branch, utils.consts.BLUE))
|
||||
|
||||
if len(data["commits"]) <= 3:
|
||||
for commit in data["commits"]:
|
||||
id = self._short_hash(commit["id"])
|
||||
|
|
Loading…
Reference in a new issue