summaryrefslogtreecommitdiffstats
path: root/drcontrol.py
diff options
context:
space:
mode:
authorsebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:29:53 +0000
committersebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:29:53 +0000
commitbe6bbfce46e1c5b6a3a9154e7155c28543847af9 (patch)
tree70688b68125f13b4e31d9c481a7df60b552dab49 /drcontrol.py
parent1136d42d405044101fa7633d3662b0dd359e2733 (diff)
downloaddrcontrol-be6bbfce46e1c5b6a3a9154e7155c28543847af9.zip
drcontrol-be6bbfce46e1c5b6a3a9154e7155c28543847af9.tar.gz
Diffstat (limited to 'drcontrol.py')
-rwxr-xr-xdrcontrol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/drcontrol.py b/drcontrol.py
index 4d9749d..fea0c42 100755
--- a/drcontrol.py
+++ b/drcontrol.py
@@ -128,7 +128,7 @@ def set_relay():
print "Current state: " + bb.port
except Exception, err:
- print "Error: Problem with device, or device not exists: " + err
+ print "Error: Problem with device, or device not exists: " + str(err)
sys.exit(1)
def check():
OpenPOWER on IntegriCloud