Commit 7ad01355 authored by Florent Fourcot's avatar Florent Fourcot

Fix typo error

parent 22d43408
......@@ -43,8 +43,8 @@ class SachsenLevelBackend(BaseBackend, ICapGauge):
yield gauge
lowpattern = pattern.lower()
for gauge in self.get_rivers_list():
if lowpattern in or lowpattern in gauge.river.lower():
for gauge in self.browser.get_rivers_list():
if lowpattern in or lowpattern in gauge.object.lower():
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