From 6640e5624c28034782dce98d99257bc74e674cda Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Mon, 23 Mar 2020 11:07:56 +0200 Subject: [PATCH] move legacy script to python3 --- python_apps/pypo/liquidsoap/ls_script_legacy.liq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_apps/pypo/liquidsoap/ls_script_legacy.liq b/python_apps/pypo/liquidsoap/ls_script_legacy.liq index c4a8b99af..c7bf90a5a 100644 --- a/python_apps/pypo/liquidsoap/ls_script_legacy.liq +++ b/python_apps/pypo/liquidsoap/ls_script_legacy.liq @@ -239,7 +239,7 @@ end def check_master_dj_client(user,password) = log("master connected") #get the output of the php script - ret = get_process_lines("python #{auth_path} --master #{user} #{password}") + ret = get_process_lines("python3 #{auth_path} --master #{user} #{password}") #ret has now the value of the live client (dj1,dj2, or djx), or "ERROR"/"unknown" ... ret = list.hd(ret) @@ -250,7 +250,7 @@ end def check_dj_client(user,password) = log("live dj connected") #get the output of the php script - ret = get_process_lines("python #{auth_path} --dj #{user} #{password}") + ret = get_process_lines("python3 #{auth_path} --dj #{user} #{password}") #ret has now the value of the live client (dj1,dj2, or djx), or "ERROR"/"unknown" ... hd = list.hd(ret) log("Live DJ authenticated: #{hd}")