weather fix

This commit is contained in:
Neythen Treloar 2022-04-11 16:53:41 +01:00 committed by GitHub
parent 972af42fd7
commit 09a0b8b2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2333,7 +2333,7 @@ class StockTicker():
weather_img = Image.open(weather_dir + '/weather_type_icons/' + weather_ids[main] + '.png') weather_img = Image.open(weather_dir + '/weather_type_icons/' + weather_ids[main] + '.png')
temp = daily_weather[0]['temp'] temp = self.convertTemp(daily_weather[0]['temp'], daily_weathers['temp']))
min_temp = self.convertTemp(daily_weather[0]['min_temp'], daily_weathers['temp']) min_temp = self.convertTemp(daily_weather[0]['min_temp'], daily_weathers['temp'])
max_temp = self.convertTemp(daily_weather[0]['max_temp'], daily_weathers['temp']) max_temp = self.convertTemp(daily_weather[0]['max_temp'], daily_weathers['temp'])