crash-- (for real)

This commit is contained in:
Trever Fischer
2012-04-19 17:45:00 -04:00
parent 126f4add9a
commit 6500a2b713

View File

@@ -7,7 +7,7 @@ def cachePlayerList():
for s in Server.objects.all(): for s in Server.objects.all():
playerList = [] playerList = []
for p in s.online_players(): for p in s.online_players():
playerList.append(p.name) playerList.append(p.mc_username)
serverInfo[s.hostname] = {'players':playerList} serverInfo[s.hostname] = {'players':playerList}
cache.set('caminus-server-info', serverInfo, 30) cache.set('caminus-server-info', serverInfo, 30)