uv fix
This commit is contained in:
parent
4aafe2fc5f
commit
ec7b84e0b5
@ -1671,7 +1671,7 @@ class StockTicker():
|
|||||||
wind_img = Image.open(weather_dir + '/wind.png')
|
wind_img = Image.open(weather_dir + '/wind.png')
|
||||||
wtext_img = self.textImage(str(current_weather['wind_speed']) + 'm/s'.upper(), extra_small_font)
|
wtext_img = self.textImage(str(current_weather['wind_speed']) + 'm/s'.upper(), extra_small_font)
|
||||||
uv_img = Image.open(weather_dir + '/uv.png')
|
uv_img = Image.open(weather_dir + '/uv.png')
|
||||||
utext_img = self.textImage(str(current_weather['uv']) , small_font)
|
utext_img = self.textImage(str(round(current_weather['uv'], 1)) , small_font)
|
||||||
cloud_img = Image.open(weather_dir + '/clouds.png')
|
cloud_img = Image.open(weather_dir + '/clouds.png')
|
||||||
ctext_img = self.textImage(str(current_weather['clouds']) + '%', small_font)
|
ctext_img = self.textImage(str(current_weather['clouds']) + '%', small_font)
|
||||||
wind_img = Image.open(weather_dir + '/wind.png')
|
wind_img = Image.open(weather_dir + '/wind.png')
|
||||||
|
Loading…
Reference in New Issue
Block a user