code clean
code clean
This commit is contained in:
parent
5c2ab81e16
commit
1847ea5f34
14 changed files with 54 additions and 22 deletions
|
|
@ -25,6 +25,10 @@ from xml.dom import minidom
|
|||
from weboob.core.backend import BaseBackend
|
||||
from weboob.capabilities.weather import ICapWeather, CityNotFound, Current, Forecast
|
||||
|
||||
|
||||
__all__ = ['YWeatherBackend']
|
||||
|
||||
|
||||
class YWeatherBackend(BaseBackend, ICapWeather):
|
||||
NAME = 'yweather'
|
||||
MAINTAINER = 'Romain Bignon'
|
||||
|
|
@ -59,4 +63,5 @@ class YWeatherBackend(BaseBackend, ICapWeather):
|
|||
int(forecast.getAttribute('low')),
|
||||
int(forecast.getAttribute('high')),
|
||||
forecast.getAttribute('text'),
|
||||
'C')
|
||||
'C',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue