diff options
| author | 2019-01-18 08:20:03 +0000 | |
|---|---|---|
| committer | 2019-01-18 08:20:03 +0000 | |
| commit | 8addca13ec670bd60cb2b469161bffc440fbc39b (patch) | |
| tree | 9ef098bffed95e05000ee69c11743ac552584057 /modules | |
| parent | Allow non-category items to be placed in a channel's event categories, allowing (diff) | |
| signature | ||
Copypaste fail, 'c' -> 'category'
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github.py | 3 |
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 |
