52
51
stdout = stdout.decode("utf-8")
53
52
stderr = stderr.decode("utf-8")
56
55
"APC Power Driver external process error for command %s: %s"
58
57
match = re.search("INTEGER:\s*([1-2])", stdout)
61
60
"APC Power Driver unable to extract outlet power state"