feat: Create PolyWeather web API to serve analyzed weather and Polymarket data.
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user