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 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