diff --git a/src/frontendHourlyDetails.py b/src/frontendHourlyDetails.py index 4a787e3..c057e3a 100644 --- a/src/frontendHourlyDetails.py +++ b/src/frontendHourlyDetails.py @@ -104,7 +104,7 @@ def create_stack_page(self, page_name): # Hourly Page if page_name == "hourly": desc_label.set_text(C_("temperature", "Day Max •")) - val_label.set_text(str(max(hourly_data.temperature_2m.get("data"))) + "°") + val_label.set_text(str(max(hourly_data.temperature_2m.get("data")[:24])) + "°") unit_label.set_text("") # Precipitation page