Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions probemon.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3

import time
import datetime
Expand Down Expand Up @@ -45,7 +45,7 @@ def packet_callback(packet):
try:
parsed_mac = netaddr.EUI(packet.addr2)
fields.append(parsed_mac.oui.registration().org)
except netaddr.core.NotRegisteredError, e:
except(netaddr.core.NotRegisteredError, e):
fields.append('UNKNOWN')

# include the SSID in the probe frame
Expand Down Expand Up @@ -76,7 +76,7 @@ def main():
args = parser.parse_args()

if not args.interface:
print "error: capture interface not given, try --help"
print("error: capture interface not given, try --help")
sys.exit(-1)

DEBUG = args.debug
Expand Down