From: Ant Zucaro Date: Thu, 19 Nov 2015 13:21:47 +0000 (-0500) Subject: Use raw ID values, not URLs. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9054b0b2202765bdfe1fd94aba646616a48ff9c;p=xonotic%2Fxonstat.git Use raw ID values, not URLs. The game doesn't have clickable links anyway. --- diff --git a/xonstat/templates/submit_stats.mako b/xonstat/templates/submit_stats.mako index a0686ba..be0967b 100644 --- a/xonstat/templates/submit_stats.mako +++ b/xonstat/templates/submit_stats.mako @@ -1,12 +1,12 @@ V 1 R XonStat/1.0 T ${now} -S ${request.route_url('server_info', id=server.server_id)} -G ${request.route_url('game_info', id=game.game_id)} -M ${request.route_url('map_info', id=gmap.map_id)} +S ${server.server_id} +G ${game.game_id} +M ${gmap.map_id} % for player_id in player_ids: P ${hashkeys[player_id]} -i ${request.route_url('player_info', id=player_id)} +i ${player_id} % if player_id in elos: e elo ${elos[player_id].elo.elo} e elo_delta ${elos[player_id].elo_delta}