Copypaste fail, 'c' -> 'category'

This commit is contained in:
jesopo 2019-01-18 08:20:03 +00:00
parent be5c5e6c21
commit 8addca13ec

View file

@ -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