Fix player data bug

This commit is contained in:
Andrew 2022-01-14 20:05:50 -05:00
parent fa3a196586
commit 43a315874e

View File

@ -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)