Make sure command calls python3

This commit is contained in:
Keoni Mahelona 2020-03-22 23:33:26 +13:00 committed by Kyle Robbertze
parent 91996c91bc
commit 30d6db1e5e
1 changed files with 1 additions and 1 deletions

View File

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