X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Fviews%2Fhelpers.py;fp=xonstat%2Fviews%2Fhelpers.py;h=82ae6564d02041efb69d54485ef41d757e6dea44;hp=d3492e32dc8af8a9a749649c3b6a2fc104e4c660;hb=aa3d686636245e23e9027a00126046bc0c613dc9;hpb=9031465c6ac74d11ea254cf33f665d370d5e69b0 diff --git a/xonstat/views/helpers.py b/xonstat/views/helpers.py index d3492e3..82ae656 100644 --- a/xonstat/views/helpers.py +++ b/xonstat/views/helpers.py @@ -111,14 +111,11 @@ def recent_games_q(server_id=None, map_id=None, player_id=None, # specified player_id. Otherwise it will just look for a game # *having* that player_id, but returning the #1 player's pgstat row if player_id is not None: - print("in the player_id block") if force_player_id: - print("forced player") recent_games_q = recent_games_q.\ filter(PlayerGameStat.player_id==player_id).\ filter(Game.players.contains([player_id])) else: - print("in the alias block") recent_games_q = recent_games_q.\ filter(PlayerGameStat.scoreboardpos==1).\ filter(Game.game_id==pgstat_alias.game_id).\