summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:15:35 +0000
committersebastian.sjoholm <sebastian.sjoholm@gmail.com>2012-12-28 10:15:35 +0000
commit2749563ca29abda6fc585544871aa0196206afbe (patch)
treec4b7a9219c6b0f45bc3df92104939f6b39877338
parentc435770a4244c3770f541efebaed9ea2ea9ae75c (diff)
downloaddrcontrol-2749563ca29abda6fc585544871aa0196206afbe.zip
drcontrol-2749563ca29abda6fc585544871aa0196206afbe.tar.gz
-rwxr-xr-xdrcontrol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/drcontrol.py b/drcontrol.py
index 83e83fd..78bb4c2 100755
--- a/drcontrol.py
+++ b/drcontrol.py
@@ -127,7 +127,7 @@ def set_relay():
if cmdarg.verbose:
print "Current state: " + bb.port
- except:
+ except Exception:
print "Error: Problem with device, or device not exists"
sys.exit(1)
OpenPOWER on IntegriCloud