From 8addca13ec670bd60cb2b469161bffc440fbc39b Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 18 Jan 2019 08:20:03 +0000 Subject: [PATCH] Copypaste fail, 'c' -> 'category' --- modules/github.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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