wpaspy: Fix exception handling in the test script
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b2a12c4f93
commit
15cb4772d6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue