From: Ant Zucaro Date: Wed, 25 May 2011 02:28:56 +0000 (-0400) Subject: Fix bad dereference - pgstats is not a hash in this version. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=351b655d384a9acef43ea5ba6e9e1d903af68d7f;p=xonotic%2Fxonstat.git Fix bad dereference - pgstats is not a hash in this version. --- diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index 53a326a..a9d2391 100644 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -15,7 +15,7 @@ Accuracy -% for pgstat in pgstats[game.game_id]: +% for pgstat in pgstats: % if pgstat.player_id > 2: @@ -57,7 +57,7 @@ Accuracy -% for pgstat in pgstats[game.game_id]: +% for pgstat in pgstats: % if pgstat.player_id > 2: