From 5d943f2aae15fafcb11ee68b9e46c2db476b5934 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 11 Mar 2026 05:56:40 +0800 Subject: [PATCH] feat: Create PolyWeather web API to serve analyzed weather and Polymarket data. --- web/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app.py b/web/app.py index 1e3d551f..e73e25c9 100644 --- a/web/app.py +++ b/web/app.py @@ -311,8 +311,8 @@ def _analyze(city: str, force_refresh: bool = False) -> Dict[str, Any]: t_str, t_val = item if t_str is None or t_val is None: continue - hh, mm = str(t_str).split(":") - parsed_obs.append((int(hh), int(mm), float(t_val))) + hh, minute_part = str(t_str).split(":") + parsed_obs.append((int(hh), int(minute_part), float(t_val))) except Exception: continue if parsed_obs: