diff options
author | sebastian.sjoholm <sebastian.sjoholm@gmail.com> | 2012-12-28 10:15:35 +0000 |
---|---|---|
committer | sebastian.sjoholm <sebastian.sjoholm@gmail.com> | 2012-12-28 10:15:35 +0000 |
commit | 2749563ca29abda6fc585544871aa0196206afbe (patch) | |
tree | c4b7a9219c6b0f45bc3df92104939f6b39877338 | |
parent | c435770a4244c3770f541efebaed9ea2ea9ae75c (diff) | |
download | drcontrol-2749563ca29abda6fc585544871aa0196206afbe.zip drcontrol-2749563ca29abda6fc585544871aa0196206afbe.tar.gz |
-rwxr-xr-x | drcontrol.py | 2 |
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) |