Correct order of string formatting for github membership events (github.py)

This commit is contained in:
jesopo 2019-01-16 22:14:26 +00:00
parent f50f2a6d51
commit f9bf1d03e8

View file

@ -395,5 +395,5 @@ class Module(ModuleManager.BaseModule):
def membership(self, event, organisation, data): def membership(self, event, organisation, data):
return ["%s %s %s to team %s" % return ["%s %s %s to team %s" %
(data["action"], data["sender"]["login"], data["member"]["login"], (data["sender"]["login"], data["action"], data["member"]["login"],
data["team"]["name"])] data["team"]["name"])]