aboutsummaryrefslogtreecommitdiffstats
path: root/wpaspy/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'wpaspy/test.py')
-rwxr-xr-xwpaspy/test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpaspy/test.py b/wpaspy/test.py
index 2a5e409..493af7a 100755
--- a/wpaspy/test.py
+++ b/wpaspy/test.py
@@ -29,8 +29,7 @@ def wpas_connect():
try:
wpas = wpaspy.Ctrl(ctrl)
return wpas
- except wpactrl.error, error:
- print "Error: ", error
+ except Exception, e:
pass
return None