From 1df14c6d3b653ef024f81c2fd2367cd68d2a0fac Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Thu, 5 Mar 2026 17:00:24 +0800 Subject: [PATCH] feat: Implement city risk profiles data collection. --- src/data_collection/city_risk_profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_collection/city_risk_profiles.py b/src/data_collection/city_risk_profiles.py index 7e669970..a98d4caa 100644 --- a/src/data_collection/city_risk_profiles.py +++ b/src/data_collection/city_risk_profiles.py @@ -24,7 +24,7 @@ CITY_RISK_PROFILES = { def get_city_risk_profile(city: str) -> dict: """获取城市的风险档案""" - city_lower = city_name.lower().strip() + city_lower = city.lower().strip() city_key = city_lower return CITY_RISK_PROFILES.get(city_key)