aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-18 08:20:03 +0000
committerGravatar jesopo2019-01-18 08:20:03 +0000
commit8addca13ec670bd60cb2b469161bffc440fbc39b (patch)
tree9ef098bffed95e05000ee69c11743ac552584057 /modules/github.py
parentAllow non-category items to be placed in a channel's event categories, allowing (diff)
signature
Copypaste fail, 'c' -> 'category'
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index bbb8b4e6..f1535b7f 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -193,7 +193,8 @@ class Module(ModuleManager.BaseModule):
github_events = []
for category in event_categories:
- github_events.append(EVENT_CATEGORIES.get(c, [c]))
+ github_events.append(EVENT_CATEGORIES.get(
+ category, [category]))
github_events = list(itertools.chain(*github_events))
if (github_event in github_events or