Unknown variable; Logic error

This commit is contained in:
dadav
2019-12-09 20:12:34 +01:00
parent 1523dfc1ef
commit 9d56c97aa5
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class Automata(object):
# when we're trying to associate or deauth something that is not in range anymore
# (if we are moving), we get the following error from bettercap:
# error 400: 50:c7:bf:2e:d3:37 is an unknown BSSID or it is in the association skip list.
if 'is an unknown BSSID' in str(error):
if 'is an unknown BSSID' in str(e):
self._on_miss(who)
else:
logging.error(e)