set git_webhooks _name to something nicer ("Webhooks")

This commit is contained in:
jesopo 2019-06-24 18:18:42 +01:00
parent f66dd83551
commit dd6b0fdfbd

View file

@ -18,6 +18,8 @@ DEFAULT_EVENT_CATEGORIES = [
"help": "Hide/show command-like prefix on git webhook outputs",
"validate": utils.bool_or_none, "example": "on"})
class Module(ModuleManager.BaseModule):
_name = "Webhooks"
def on_load(self):
self._github = github.GitHub()
self._gitea = gitea.Gitea()