mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 12:56:11 +01:00
Fix player data bug
This commit is contained in:
parent
fa3a196586
commit
43a315874e
@ -181,7 +181,10 @@ class PanelHandler(BaseHandler):
|
|||||||
except:
|
except:
|
||||||
data['stats']['waiting_start'] = False
|
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)
|
IOLoop.current().add_callback(self.fetch_server_data, page_data)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user