summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdrcontrol.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/drcontrol.py b/drcontrol.py
index 6dc81e7..2395538 100755
--- a/drcontrol.py
+++ b/drcontrol.py
@@ -110,8 +110,7 @@ def set_relay():
if cmdarg.verbose:
print "Device: " + cmdarg.device
- print "Relay: " + cmdarg.relay + " (0x" + relay.address[cmdarg.relay] + ")"
- print "State: " + cmdarg.state
+ print "Command: Set relay " + cmdarg.relay + " (0x" + relay.address[cmdarg.relay] + ") to " + cmdarg.state
try:
with BitBangDevice(cmdarg.device) as bb:
OpenPOWER on IntegriCloud