fix problems caused by removing prints
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/05 03:22:32 by tomoron #+# #+# #
|
||||
# Updated: 2024/11/19 16:53:31 by tomoron ### ########.fr #
|
||||
# Updated: 2024/11/19 17:16:33 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -23,8 +23,6 @@ class Player():
|
||||
self.skin = 0
|
||||
self.goal = 0
|
||||
|
||||
def __del__(self):
|
||||
|
||||
def isTournamentReady(self):
|
||||
return(self.tournamentReady)
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/09/20 00:16:57 by edbernar #+# #+# #
|
||||
# Updated: 2024/11/19 16:59:00 by tomoron ### ########.fr #
|
||||
# Updated: 2024/11/19 17:17:24 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -38,7 +38,6 @@ def getHistory(user, games):
|
||||
return(res)
|
||||
|
||||
def getStats(user):
|
||||
try:
|
||||
games = GameResults.objects.filter(Q(player1=user) | Q(player2=user))
|
||||
nbGames = games.count()
|
||||
nbWin = games.filter(winner=user).count()
|
||||
|
Reference in New Issue
Block a user