I don't know the difference between str and int I guess.

This commit is contained in:
Andrew McManus 2021-07-26 21:49:47 -04:00
parent 4e4911e0b5
commit f8cda4b748

View File

@ -407,7 +407,7 @@ class Server:
if len(websocket_helper.clients) > 0: if len(websocket_helper.clients) > 0:
# There are clients # There are clients
self.check_update() self.check_update()
message = '<a data-id="'+self.server_id+'" class=""> UPDATING...</i></a>' message = '<a data-id="'+str(self.server_id)+'" class=""> UPDATING...</i></a>'
websocket_helper.broadcast('update_button_status', { websocket_helper.broadcast('update_button_status', {
'isUpdating': self.check_update(), 'isUpdating': self.check_update(),
'server_id': self.server_id, 'server_id': self.server_id,