From 779caadf8313189d6a6c6a75659f313820b48fcf Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Tue, 7 Nov 2017 21:25:03 -0500 Subject: [PATCH] Change the field to match the table column. --- xonstat/models/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2