summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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