Make sure command calls python3
This commit is contained in:
parent
91996c91bc
commit
30d6db1e5e
|
@ -244,7 +244,7 @@ def check_auth(user="", password="", ~type="master") =
|
|||
log("#{type} user #{user} connected",label="#{type}_source")
|
||||
|
||||
# Check auth based on return value from auth script
|
||||
ret = snd(snd(run_process("python #{auth_path} --#{type} #{user} #{password}"))) == "0"
|
||||
ret = snd(snd(run_process("python3 #{auth_path} --#{type} #{user} #{password}"))) == "0"
|
||||
|
||||
if ret then
|
||||
log("#{type} user #{user} authenticated",label="#{type}_source")
|
||||
|
|
Loading…
Reference in New Issue