ajout d'un module vlille utilisant ICapGauge correction pyflakes
Signed-off-by: Bezleputh <carton_ben@yahoo.fr>
This commit is contained in:
parent
a6b4c30b18
commit
a705620c08
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.capabilities.gauge import Gauge, GaugeMeasure, GaugeSensor
|
||||
from weboob.capabilities.base import NotAvailable, NotLoaded
|
||||
from weboob.capabilities.base import NotLoaded
|
||||
import datetime, re
|
||||
|
||||
__all__ = ['InfoStationPage', 'ListStationsPage']
|
||||
|
|
@ -62,7 +62,7 @@ class InfoStationPage(BasePage):
|
|||
if status == 0:
|
||||
status = 1
|
||||
else:
|
||||
status = -1
|
||||
status = -1
|
||||
lastvalue.level = float(status)
|
||||
lastvalue.date = last_update
|
||||
lastvalue.alarm = u'-1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue