fix: [ail sync] fix refresh_ail_instance_connection

This commit is contained in:
Terrtia 2021-11-30 15:45:45 +01:00
parent 7f02ade6a7
commit e075794fd0
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -264,7 +264,7 @@ def send_command_to_manager(command, client_id=-1, ail_uuid=None):
def refresh_ail_instance_connection(ail_uuid): def refresh_ail_instance_connection(ail_uuid):
clients_id = get_client_id_by_ail_uuid(ail_uuid) clients_id = get_client_id_by_ail_uuid(ail_uuid)
if clients_id: if clients_id:
clients_id = clients_id[0] client_id = clients_id[0]
else: else:
client_id = None client_id = None
launch_required = is_ail_instance_push_enabled(ail_uuid) launch_required = is_ail_instance_push_enabled(ail_uuid)