From: Ant Zucaro Date: Wed, 8 Nov 2017 02:25:03 +0000 (-0500) Subject: Change the field to match the table column. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=779caadf8313189d6a6c6a75659f313820b48fcf;p=xonotic%2Fxonstat.git Change the field to match the table column. --- diff --git a/xonstat/models/main.py b/xonstat/models/main.py index 6eec9ac..0648623 100644 --- a/xonstat/models/main.py +++ b/xonstat/models/main.py @@ -38,11 +38,11 @@ class ActiveServer(object): A record in the "Most Active Servers" list. """ - def __init__(self, sort_order=None, server_id=None, server_name=None, games=None): + def __init__(self, sort_order=None, server_id=None, server_name=None, play_time=None): self.sort_order = sort_order self.server_id = server_id self.server_name = server_name - self.games = games + self.play_time = play_time def __repr__(self): return "".format(self)