|
|
@ -232,7 +232,7 @@ def update_cine(request): |
|
|
|
cinema_update_status[cinema_ip]['config']['msg'] = config_before_output + '<br/>' + str(e) |
|
|
|
cinema_update_status[cinema_ip]['config']['msg'] = config_before_output + '<br/>' + str(e) |
|
|
|
return JsonResponse({'result': 'fail', 'ip': cinema_ip, 'msg': str(e)}) |
|
|
|
return JsonResponse({'result': 'fail', 'ip': cinema_ip, 'msg': str(e)}) |
|
|
|
d = redis_conn.get(f'cinema_update_status_{cinema_ip}') |
|
|
|
d = redis_conn.get(f'cinema_update_status_{cinema_ip}') |
|
|
|
print(d) |
|
|
|
print("redis", d) |
|
|
|
# 传输客户端 |
|
|
|
# 传输客户端 |
|
|
|
client_list = list(set(cmd_list) & set(cmd_dict['client'])) |
|
|
|
client_list = list(set(cmd_list) & set(cmd_dict['client'])) |
|
|
|
if len(client_list) > 0: |
|
|
|
if len(client_list) > 0: |
|
|
|