Integer name casues restart #874

This commit is contained in:
jokob-sk committed 2024-11-06 08:14:32 +11:00
1 parent ab0e99d870
commit 775e46529d
3 files changed
+2 -2

No files matched your search

View File
File mode changed.
+1 -1
View File
@@ -2,4 +2,4 @@
# Schedule cron jobs
* * * * * /app/back/cron_script.sh
* * * * * echo "$(date +'%Y-%m-%d %H:%M:%S') - Cron job ran" >> /app/front/log/cron_timestamp.log
#* * * * * echo "$(date +'%Y-%m-%d %H:%M:%S') - Cron job ran" >> /app/front/log/cron_timestamp.log
+1 -1
View File
@@ -739,7 +739,7 @@ def guess_type(vendor, mac, ip, name, default):
result = default
mac = mac.upper()
vendor = vendor.lower() if vendor else "unknown"
name = name.lower() if name else "(unknown)"
name = str(name).lower() if name else "(unknown)"
# Guess icon based on vendor
if any(brand in vendor for brand in {"samsung", "motorola"}):