move legacy script to python3

This commit is contained in:
Kyle Robbertze 2020-03-23 11:07:56 +02:00
parent 30d6db1e5e
commit 6640e5624c

View file

@ -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}")