god help me i fucking hate python I HATE IT

This commit is contained in:
2026-04-25 15:31:56 -06:00
parent 89c078a3d0
commit e0799384e2
+4 -4
View File
@@ -47,10 +47,10 @@ def send_discord_notification(vendor_id, rssi=None):
# Format the message
vendor_names = {
0x004C: "Apple",
0x0006: "Microsoft",
0x0059: "Nordic Semiconductor",
0x0499: "Texas Instruments"
0x0025DF: "Axon Enterprise, Inc.",
0x005828: "Unknown Vendor",
0x00C0D4: "Unknown Vendor",
0x847003: "Unknown Vendor"
}
vendor_name = vendor_names.get(vendor_id, f"Unknown (0x{vendor_id:04X})")