Copypaste fail, 'c' -> 'category'
This commit is contained in:
parent
be5c5e6c21
commit
8addca13ec
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
github_events = []
|
github_events = []
|
||||||
for category in event_categories:
|
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))
|
github_events = list(itertools.chain(*github_events))
|
||||||
|
|
||||||
if (github_event in github_events or
|
if (github_event in github_events or
|
||||||
|
|
Loading…
Reference in a new issue