]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Remove extraneous print calls.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 6 Dec 2020 01:58:28 +0000 (20:58 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 6 Dec 2020 01:58:28 +0000 (20:58 -0500)
xonstat/views/helpers.py

index d3492e32dc8af8a9a749649c3b6a2fc104e4c660..82ae6564d02041efb69d54485ef41d757e6dea44 100644 (file)
@@ -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).\