diff options
| author | 2018-11-17 08:20:34 +0000 | |
|---|---|---|
| committer | 2018-11-17 08:20:34 +0000 | |
| commit | b27bffaa50c3a0063b72a3aab23d902333d85990 (patch) | |
| tree | 6000417393767af779e2f0107fcf7d08ee20af18 /modules/github.py | |
| parent | Forgot to import itertools (diff) | |
| signature | ||
Typo in modules/github.py, 'const' -> 'consts'
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 6 |
1 files 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] |
