Fix event
variable name collision (github)
This commit is contained in:
parent
88a28352b8
commit
293b3a8ce3
1 changed files with 2 additions and 2 deletions
|
@ -320,9 +320,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
github_events = []
|
github_events = []
|
||||||
for event in found_hook["events"]:
|
for hooked_event in found_hook["events"]:
|
||||||
github_events.append(EVENT_CATEGORIES.get(
|
github_events.append(EVENT_CATEGORIES.get(
|
||||||
event, [event]))
|
hooked_event, [hooked_event]))
|
||||||
github_events = list(itertools.chain(*github_events))
|
github_events = list(itertools.chain(*github_events))
|
||||||
|
|
||||||
channel = server.channels.get(channel_name)
|
channel = server.channels.get(channel_name)
|
||||||
|
|
Loading…
Reference in a new issue