Ignore error when parsing Client row.
Explanation of bug (Why error wasn't being caught):
```
try:
...
except IndexError, ValueError:
# Only catches IndexError.
# ValueError is a *variable* holding the IndexError !
```
This commit is contained in:
@@ -193,7 +193,7 @@ class Airodump(object):
|
||||
# The current row corresponds to a "Client" (computer)
|
||||
try:
|
||||
client = Client(row)
|
||||
except IndexError, ValueError:
|
||||
except (IndexError, ValueError) as e:
|
||||
# Skip if we can't parse the client row
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user