feat: Create PolyWeather web API to serve analyzed weather and Polymarket data.

This commit is contained in:
2569718930@qq.com
2026-03-11 05:56:40 +08:00
parent 8712335ffd
commit 5d943f2aae
+2 -2
View File
@@ -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: