mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
I don't know the difference between str and int I guess.
This commit is contained in:
parent
4e4911e0b5
commit
f8cda4b748
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user