Commit 29498ca7 authored by Florent Fourcot's avatar Florent Fourcot

Use more tools of browser2 in dresdenwetter

parent 207c5d9b
......@@ -43,9 +43,7 @@ class DresdenWetterBackend(BaseBackend, ICapGauge):
gauge.name = u"Private Wetterstation Dresden"
gauge.city = u"Dresden"
gauge.object = u"Weather"
gauge.sensors = []
for sensor in self.browser.get_sensors_list():
gauge.sensors.append(sensor)
gauge.sensors = list(self.browser.get_sensors_list())
yield gauge
def _get_gauge_by_id(self, id):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment