From b27bffaa50c3a0063b72a3aab23d902333d85990 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 17 Nov 2018 08:20:34 +0000 Subject: [PATCH] Typo in modules/github.py, 'const' -> 'consts' --- modules/github.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/github.py b/modules/github.py index 60554c17..c43b9cb4 100644 --- a/modules/github.py +++ b/modules/github.py @@ -69,11 +69,11 @@ class Module(ModuleManager.BaseModule): def _change_count(self, n, symbol, color): return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold() def _added(self, n): - return self._change_count(n, "+", utils.const.GREEN) + return self._change_count(n, "+", utils.consts.GREEN) def _removed(self, n): - return self._change_count(n, "-", utils.const.RED) + return self._change_count(n, "-", utils.consts.RED) def _modified(self, n): - return self._change_count(n, "±", utils.const.PURPLE) + return self._change_count(n, "±", utils.consts.PURPLE) def _short_hash(self, hash): return hash[:8]