Typo, 'all_hook' -> 'all_hooks' (github.py)

This commit is contained in:
jesopo 2019-01-18 12:13:01 +00:00
parent 0414ed34e2
commit b7864ffb41

View file

@ -188,7 +188,7 @@ class Module(ModuleManager.BaseModule):
else:
new_events = [e.lower() for e in event["args_split"][2:]]
all_hooks[existing_hook]["events"] = new_events
event["target"].set_setting("github-hooks", all_hook)
event["target"].set_setting("github-hooks", all_hooks)
event["stdout"].write("Updated events for hook %s" % hook)
@utils.hook("api.post.github")