From 2749563ca29abda6fc585544871aa0196206afbe Mon Sep 17 00:00:00 2001 From: "sebastian.sjoholm" Date: Fri, 28 Dec 2012 10:15:35 +0000 Subject: --- drcontrol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1