mirror of
https://github.com/smittix/intercept.git
synced 2026-06-18 18:39:47 -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:
+2
-3
@@ -4,6 +4,7 @@ GitHub update checking and git-based update mechanism.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import contextlib
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
@@ -264,10 +265,8 @@ def get_update_status() -> dict[str, Any]:
|
||||
|
||||
last_check_time = None
|
||||
if last_check:
|
||||
try:
|
||||
with contextlib.suppress(ValueError, TypeError):
|
||||
last_check_time = datetime.fromtimestamp(float(last_check)).isoformat()
|
||||
except (ValueError, TypeError):
|
||||
pass
|
||||
|
||||
return {
|
||||
'success': True,
|
||||
|
||||
Reference in New Issue
Block a user