From 0b0103f71b99e2cdba76810c86116743e2962a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Cort=C3=A9s?= Date: Sat, 21 Nov 2020 03:06:08 -0300 Subject: [PATCH] OpenWeatherMap provee imagenes 4x y estaba usando 2x --- home/services/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/services/weather.py b/home/services/weather.py index 67eb46b..1d2a797 100644 --- a/home/services/weather.py +++ b/home/services/weather.py @@ -25,7 +25,7 @@ def with_icon_url(weather): Transforma el codigo de icono que indica el clima en el url correspondiente del icono """ - url = 'http://openweathermap.org/img/wn/{0}@2x.png' + url = 'http://openweathermap.org/img/wn/{0}@4x.png' icon_code = weather['weather'][0]['icon'] modified = copy.deepcopy(weather)