aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
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