From 74e35b990b09c3a50ffafc238dcad76fc9b66028 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 20 Mar 2026 22:16:13 +0800 Subject: [PATCH] Restore web.app compatibility exports for bot alerts --- web/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/app.py b/web/app.py index 021da0dc..35b61aad 100644 --- a/web/app.py +++ b/web/app.py @@ -15,6 +15,11 @@ if _root not in sys.path: if _file_dir not in sys.path: sys.path.insert(0, _file_dir) +from web.analysis_service import ( # noqa: E402 + _analyze, + _build_city_detail_payload, + _build_city_summary_payload, +) from web.core import app # noqa: E402 from web.routes import router # noqa: E402