mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
wpaspy: Fix exception handling in the test script
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b2a12c4f93
commit
15cb4772d6
@ -29,8 +29,7 @@ def wpas_connect():
|
|||||||
try:
|
try:
|
||||||
wpas = wpaspy.Ctrl(ctrl)
|
wpas = wpaspy.Ctrl(ctrl)
|
||||||
return wpas
|
return wpas
|
||||||
except wpactrl.error, error:
|
except Exception, e:
|
||||||
print "Error: ", error
|
|
||||||
pass
|
pass
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user