summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:35:01 +0000
committersebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:35:01 +0000
commit84a0e590dc7d354bd92ccce1d0a5e1a1685499a2 (patch)
tree6c0e548ce48e4c3b39f7d29b36605629f4343bc9
parentaa4d6a18eb2c00b3ccb28c8851abb3889235a111 (diff)
downloaddrcontrol-84a0e590dc7d354bd92ccce1d0a5e1a1685499a2.zip
drcontrol-84a0e590dc7d354bd92ccce1d0a5e1a1685499a2.tar.gz
-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