From c4123eb636fe764fa20433dc3fb87152cc39a2e9 Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Sat, 9 Sep 2017 12:42:49 +0200 Subject: [PATCH] fix positional argument exception meme --- events/matchReadyEvent.py | 2 +- objects/osuToken.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/events/matchReadyEvent.py b/events/matchReadyEvent.py index 91f9e3f..05e731e 100644 --- a/events/matchReadyEvent.py +++ b/events/matchReadyEvent.py @@ -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() diff --git a/objects/osuToken.py b/objects/osuToken.py index 0ecb052..a4b0a43 100644 --- a/objects/osuToken.py +++ b/objects/osuToken.py @@ -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"): """