Commit e45a8815 authored by janis.streib's avatar janis.streib 🦉
Browse files

UPD: cutout useless vlan object

parent ab8027dc
......@@ -19,7 +19,7 @@ class MacFinderJob(DBObject):
self.status = status
self.mac = format_mac(mac)
self.vendor = OUI_DB.get(self.mac[:8], None) if vendor is None else vendor
self.vlan = vlan if type(vlan) == VLAN else VLAN(**vlan)
self.vlan = vlan.id if type(vlan) == VLAN else vlan
self.bcd = bcd
self.started = started if started is not None else datetime.datetime.now()
......
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