]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Fix repr with bad attribute.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 3 Nov 2011 01:56:19 +0000 (21:56 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 3 Nov 2011 01:56:19 +0000 (21:56 -0400)
xonstat/models.py

index 4116b818bbc2fe09f80b6c9246af0879c94d86d7..08a7cb569fc3f5f454ca4f0308212dccadf922ca 100755 (executable)
@@ -79,8 +79,8 @@ class PlayerGameStat(object):
         self.create_dt = create_dt
 
     def __repr__(self):
-        return "<PlayerGameStat(%s, %s, %s, %s)>" \
-        % (self.player_id, self.game_id, self.create_dt, self.stat_type)
+        return "<PlayerGameStat(%s, %s, %s)>" \
+        % (self.player_id, self.game_id, self.create_dt)
 
     def nick_stripped(self):
         if self.nick is None: