all()\r
\r
# turn this into something the accuracy template can use\r
- weapon_stats = []\r
- for (pwstat, weapon) in pwstats:\r
- weapon_stats.append((weapon.descr, pwstat.weapon_cd, pwstat.fired,\r
- pwstat.hit, pwstat.max, pwstat.actual))\r
+ weapon_stats = [(weapon.descr, pwstat.weapon_cd, pwstat.actual,\r
+ pwstat.max, pwstat.hit, pwstat.fired) for (pwstat, weapon) in pwstats]\r
\r
pgstat = DBSession.query(PlayerGameStat).\\r
filter_by(player_game_stat_id=pgstat_id).one()\r