diff --git a/wpaspy/test.py b/wpaspy/test.py index 2a5e409d9..493af7a67 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