fix positional argument exception meme

This commit is contained in:
Morgan Bazalgette 2017-09-09 12:42:49 +02:00
parent e3e46a34ec
commit c4123eb636
No known key found for this signature in database
GPG Key ID: 40D328300D245DA5
2 changed files with 3 additions and 3 deletions

View File

@ -18,4 +18,4 @@ def handle(userToken, _):
# If this is a tournament match, we should send the current status of ready
# players.
if match.isTourney:
match.sendReadyStatus(match)
match.sendReadyStatus()

View File

@ -326,7 +326,7 @@ class token:
self.enqueue(serverPackets.notification("You are now in a tournament match."))
# If an user joins, then the ready status of the match changes and
# maybe not all users are ready.
match.sendReadyStatus(match)
match.sendReadyStatus()
def leaveMatch(self):
"""
@ -360,7 +360,7 @@ class token:
if match.isTourney:
# If an user leaves, then the ready status of the match changes and
# maybe all users are ready. Or maybe nobody is in the match anymore
match.sendReadyStatus(match)
match.sendReadyStatus()
def kick(self, message="You have been kicked from the server. Please login again.", reason="kick"):
"""