Add basic CSV export, mac db update

This commit is contained in:
2026-04-08 09:24:36 -05:00
parent 2af690ee15
commit 6952402178
7 changed files with 85 additions and 5 deletions

View File

@@ -5,8 +5,15 @@ from typing import * # type: ignore
import rio
import datetime
from mac_vendor_lookup import AsyncMacLookup
from mac_vendor_lookup import AsyncMacLookup, MacLookup
mac = MacLookup()
print("Updating vendors...")
try:
mac.update_vendors()
print("Update complete!")
except:
print("Update failed, no internet?")
pass
# from db_classes import *
from db_classes import get_location_id, create_item, fancy_location
from .. import components as comps