Commit 923e3b3a authored by Florent Fourcot's avatar Florent Fourcot

Case sensitive search

parent 38916422
......@@ -37,8 +37,8 @@ class DresdenWetterBackend(BaseBackend, ICapGauge):
BROWSER = DresdenWetterBrowser
def iter_gauges(self, pattern=None):
if pattern is None or pattern.lower() in "Dresden"\
or pattern.lower() in "Weather":
if pattern is None or pattern.lower() in u"dresden"\
or pattern.lower() in "weather":
gauge = Gauge("private-dresden") = u"Private Wetterstation Dresden" = u"Dresden"
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