type should be before number in the string formatting of issue_comment

(github.py)
This commit is contained in:
jesopo 2018-12-29 21:15:50 +00:00
parent 5f994e599d
commit e8b69b0a26

View file

@ -246,7 +246,7 @@ class Module(ModuleManager.BaseModule):
commenter = utils.irc.bold(data["comment"]["user"]["login"])
url = self._short_url(data["comment"]["html_url"])
return ["[%s #%d] %s %s on: %s - %s" %
(number, type, commenter, COMMENT_ACTIONS[action], issue_title,
(type, number, commenter, COMMENT_ACTIONS[action], issue_title,
url)]
def create(self, event, full_name, data):