mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix for server reporting updating when it's not
This commit is contained in:
parent
350ffcba63
commit
a1d5f9c084
@ -562,7 +562,8 @@ class Server:
|
||||
update_thread.start()
|
||||
|
||||
def check_update(self):
|
||||
if servers_helper.get_update_status(self.server_id):
|
||||
|
||||
if servers_helper.get_server_stats_by_id(self.server_id)['updating']:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user