Commit a5a66788 authored by gitmod's avatar gitmod

use space

parent bde7fab3
...@@ -65,7 +65,7 @@ if __name__ == '__main__': ...@@ -65,7 +65,7 @@ if __name__ == '__main__':
'hostname': '' 'hostname': ''
} }
manufacturer_mac = EUI(record['mac']) manufacturer_mac = EUI(record['mac'])
oui = manufacturer_mac.oui oui = manufacturer_mac.oui
if oui.registration().org: if oui.registration().org:
record['manufacturer'] = oui.registration().org record['manufacturer'] = oui.registration().org
if record['ip'] in dhcp_leases: if record['ip'] in dhcp_leases:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment