ap_ctl.py : comments lf_tx_power.py ap_ctl.py bug fix

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-04-28 07:29:07 -06:00
parent 25d6d2e526
commit 1b0c0882fe
2 changed files with 21 additions and 3 deletions

View File

@@ -1641,8 +1641,8 @@ def main():
logg.info("####################################################################################################")
try:
logg.info("ap_ctl.py.py: read AP power information")
ap_info= subprocess.run(["./ap_ctl.py.py", "--scheme", ap_dict['ap_scheme'], "--prompt", ap_dict['ap_prompt'],"--dest", ap_dict['ap_ip'], "--port", ap_dict["ap_port"],
logg.info("ap_ctl.py: read AP power information")
ap_info= subprocess.run(["./ap_ctl.py", "--scheme", ap_dict['ap_scheme'], "--prompt", ap_dict['ap_prompt'],"--dest", ap_dict['ap_ip'], "--port", ap_dict["ap_port"],
"--user", ap_dict['ap_user'], "--passwd", ap_dict['ap_pw'],"--action", "powercfg"],stdout=subprocess.PIPE)
try:
pss = ap_info.stdout.decode('utf-8', 'ignore')