From 986d5f7ada15e56019518db43d07b76f94468e1a Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Tue, 28 Sep 2021 23:27:51 -0700 Subject: Various changes --- cached/weather_forecast.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cached/weather_forecast.py') diff --git a/cached/weather_forecast.py b/cached/weather_forecast.py index 4be53c8..6e2f5f9 100644 --- a/cached/weather_forecast.py +++ b/cached/weather_forecast.py @@ -102,8 +102,9 @@ class CachedDetailedWeatherForecast(object): sunrise = s['sunrise'] sunset = s['sunset'] - if dt.date == now.date and not said_temp: - blurb = f'{day.get_text()}: The current outside tempterature is {current_temp}. ' + txt.get_text() + if dt.date() == now.date() and not said_temp: + blurb = f'{day.get_text()}: The current outside tempterature is {current_temp}. ' + blurb += txt.get_text() said_temp = True else: blurb = f'{day.get_text()}: {txt.get_text()}' -- cgit v1.3