mirror of
https://github.com/smittix/intercept.git
synced 2026-04-28 16:50:01 -07:00
v2.26.0: fix SSE fanout crash and branded logo FOUC
- Fix SSE fanout thread AttributeError when source queue is None during interpreter shutdown by snapshotting to local variable with null guard - Fix branded "i" logo rendering oversized on first page load (FOUC) by adding inline width/height to SVG elements across 10 templates - Bump version to 2.26.0 in config.py, pyproject.toml, and CHANGELOG.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,8 @@ from dataclasses import dataclass
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Any
|
||||
|
||||
from utils.database import add_correlation, get_correlations as db_get_correlations
|
||||
from utils.database import add_correlation
|
||||
from utils.database import get_correlations as db_get_correlations
|
||||
|
||||
logger = logging.getLogger('intercept.correlation')
|
||||
|
||||
@@ -243,9 +244,8 @@ class DeviceCorrelator:
|
||||
if wifi_oui == bt_oui:
|
||||
reasons.append("same OUI")
|
||||
|
||||
if wifi.manufacturer and bt.manufacturer:
|
||||
if wifi.manufacturer.lower() == bt.manufacturer.lower():
|
||||
reasons.append(f"same manufacturer ({wifi.manufacturer})")
|
||||
if wifi.manufacturer and bt.manufacturer and wifi.manufacturer.lower() == bt.manufacturer.lower():
|
||||
reasons.append(f"same manufacturer ({wifi.manufacturer})")
|
||||
|
||||
if wifi.rssi is not None and bt.rssi is not None:
|
||||
rssi_diff = abs(wifi.rssi - bt.rssi)
|
||||
|
||||
Reference in New Issue
Block a user