mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix player data bug
This commit is contained in:
parent
fa3a196586
commit
43a315874e
@ -181,7 +181,10 @@ class PanelHandler(BaseHandler):
|
||||
except:
|
||||
data['stats']['waiting_start'] = False
|
||||
|
||||
page_data['num_players'] = 0
|
||||
try:
|
||||
self.fetch_server_data(page_data)
|
||||
except:
|
||||
page_data['num_players'] = 0
|
||||
|
||||
IOLoop.current().add_callback(self.fetch_server_data, page_data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user