Make branch names blue AND bold! (github.py)

This commit is contained in:
jesopo 2018-11-18 10:27:19 +00:00
parent 7b430a71b0
commit fd805a07db

View file

@ -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"])