]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Use raw ID values, not URLs.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 19 Nov 2015 13:21:47 +0000 (08:21 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 19 Nov 2015 13:21:47 +0000 (08:21 -0500)
The game doesn't have clickable links anyway.

xonstat/templates/submit_stats.mako

index a0686bafaed5140d0069a7a55509dd90368494e3..be0967b9e9ae1c1bb338cbfdd5676c415ef428ad 100644 (file)
@@ -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}