Provide missing % formatting param for github release events
closes #52
This commit is contained in:
parent
bc68b50874
commit
26f63410f2
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
tag = data["release"]["tag_name"]
|
tag = data["release"]["tag_name"]
|
||||||
name = data["release"]["name"] or ""
|
name = data["release"]["name"] or ""
|
||||||
if name:
|
if name:
|
||||||
name = ": %s"
|
name = ": %s" % name
|
||||||
author = utils.irc.bold(data["release"]["author"]["login"])
|
author = utils.irc.bold(data["release"]["author"]["login"])
|
||||||
url = self._short_url(data["release"]["html_url"])
|
url = self._short_url(data["release"]["html_url"])
|
||||||
return ["%s %s a release%s - %s" % (author, action, name, url)]
|
return ["%s %s a release%s - %s" % (author, action, name, url)]
|
||||||
|
|
Loading…
Reference in a new issue