s/Backend/Module
This commit is contained in:
parent
5fe0092c2c
commit
9370b2fae7
344 changed files with 720 additions and 720 deletions
|
|
@ -27,7 +27,7 @@ from weboob.tools.ordereddict import OrderedDict
|
|||
from .browser import VelibBrowser
|
||||
|
||||
|
||||
__all__ = ['jcvelauxBackend']
|
||||
__all__ = ['jcvelauxModule']
|
||||
|
||||
|
||||
SENSOR_TYPES = OrderedDict(((u'available_bikes', u'Available bikes'),
|
||||
|
|
@ -51,7 +51,7 @@ class BikeSensor(GaugeSensor):
|
|||
latitude = StringField('Latitude of the sensor')
|
||||
|
||||
|
||||
class jcvelauxBackend(BaseModule, CapGauge):
|
||||
class jcvelauxModule(BaseModule, CapGauge):
|
||||
NAME = 'jcvelaux'
|
||||
DESCRIPTION = (u'City bike renting availability information.\nCities: %s' %
|
||||
u', '.join(CITIES))
|
||||
|
|
@ -67,7 +67,7 @@ class jcvelauxBackend(BaseModule, CapGauge):
|
|||
choices=CITIES + ("ALL",)))
|
||||
|
||||
def __init__(self, *a, **kw):
|
||||
super(jcvelauxBackend, self).__init__(*a, **kw)
|
||||
super(jcvelauxModule, self).__init__(*a, **kw)
|
||||
self.cities = None
|
||||
|
||||
def _make_gauge(self, info):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue