]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Add missing s to to PlayerWeaponStat class to allow printing.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 21 May 2011 20:35:59 +0000 (16:35 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 21 May 2011 20:35:59 +0000 (16:35 -0400)
xonstat/models.py

index 5d3f2a2220585a5c7fb0030b31d25f1a27e39e16..317e004dd8eda7c498b264ada958b3f1d4faab73 100644 (file)
@@ -101,7 +101,7 @@ class PlayerAchievement(object):
 
 class PlayerWeaponStat(object):
     def __repr__(self):
-        return "<PlayerWeaponStat(%s, %s, %s)>" % (self.player_weapon_stat_id,
+        return "<PlayerWeaponStat(%s, %s, %s)>" % (self.player_weapon_stats_id,
                 self.player_id, self.game_id)