Fixes error thrown on initial server creation for waiting_start.

This commit is contained in:
Andrew 2021-09-25 13:26:06 -04:00
parent 959b02f58f
commit aa24782b5b

View File

@ -89,9 +89,6 @@ class Controller:
if s['auto_start']: if s['auto_start']:
db_helper.set_waiting_start(s['server_id'], True) db_helper.set_waiting_start(s['server_id'], True)
db_helper.get_waiting_start(s['server_id'])
server_stats = db_helper.get_all_servers_stats()
self.refresh_server_settings(s['server_id']) self.refresh_server_settings(s['server_id'])
console.info("Loaded Server: ID {} | Name: {} | Autostart: {} | Delay: {} ".format( console.info("Loaded Server: ID {} | Name: {} | Autostart: {} | Delay: {} ".format(