OpenWeatherMap provee imagenes 4x y estaba usando 2x
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user