From: Ant Zucaro Date: Tue, 3 Oct 2017 00:59:21 +0000 (-0400) Subject: Add all the other attributes of the table to the object. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=21d2cd0226364323671fa283675f388a06949b25;p=xonotic%2Fxonstat.git Add all the other attributes of the table to the object. --- diff --git a/xonstat/models/game.py b/xonstat/models/game.py index e9cf29c..8d6640e 100644 --- a/xonstat/models/game.py +++ b/xonstat/models/game.py @@ -199,9 +199,12 @@ class PlayerGameFragMatrix(object): Frags made by an individual player in a single game. """ - def __init__(self, game_id, player_game_stat_id): + def __init__(self, game_id, player_game_stat_id, player_id, player_index, matrix): self.game_id = game_id self.player_game_stat_id = player_game_stat_id + self.player_id = player_id + self.player_index = player_index + self.matrix = matrix def __repr__(self): return "".format(self)