From feab08b36f4f88327d22bc40c6e2992748c2a471 Mon Sep 17 00:00:00 2001 From: Andrew McManus Date: Mon, 26 Jul 2021 22:22:31 -0400 Subject: [PATCH] Minor changes --- app/classes/shared/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 08ca9171..15664ce8 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -449,12 +449,13 @@ class Server: if len(websocket_helper.clients) > 0: # There are clients self.check_update() + websocket_helper.broadcast('notification', "Executable update finished for " + self.name) + time.sleep(3) websocket_helper.broadcast('update_button_status', { 'isUpdating': self.check_update(), 'server_id': self.server_id, 'wasRunning': wasStarted }) - time.sleep(7) websocket_helper.broadcast('notification', "Executable update finished for "+self.name) db_helper.add_to_audit_log_raw('Alert', '-1', self.server_id, "Executable update finished for "+self.name, self.settings['server_ip'])