From 31806c707f817902e84d43d0076a565365550c95 Mon Sep 17 00:00:00 2001 From: Ashtin <137578700+slammingprogramming@users.noreply.github.com> Date: Fri, 20 Jun 2025 01:25:04 -0400 Subject: [PATCH] Fixed, Again Fixes #1088 again. turns out that same thing is used twice. same fix applied --- server/scan/device_handling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/scan/device_handling.py b/server/scan/device_handling.py index dff750d0..64604c3d 100755 --- a/server/scan/device_handling.py +++ b/server/scan/device_handling.py @@ -732,8 +732,8 @@ def guess_icon(vendor, mac, ip, name, default): # Guess device type def guess_type(vendor, mac, ip, name, default): result = default - mac = mac.upper() - vendor = vendor.lower() if vendor else "unknown" + mac = str(mac).upper() if mac else "00:00:00:00:00:00" + vendor = str(vendor).lower() if vendor else "unknown" name = str(name).lower() if name else "(unknown)" # Guess icon based on vendor