lf_cisco_power.py: LCS-45 Read AP for Power values

allowed for debug to be printed
This commit is contained in:
Chuck SmileyRekiere
2021-01-22 13:54:37 -07:00
parent ff70c3a71c
commit e4603ac125

View File

@@ -1592,7 +1592,7 @@ def main():
#try:
logg.info("cisco_ap_ctl.py: read AP power information")
ap_info= subprocess.run(["./cisco_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"],capture_output=True, check=True)
"--user", ap_dict['ap_user'], "--passwd", ap_dict['ap_pw'],"--action", "powercfg"],capture_output=False, check=True)
pss = ap_info.stdout.decode('utf-8', 'ignore')
#except subprocess.CalledProcessError as process_error: