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