mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fix a bug in Weather.wunder due to improperly ordered arguments to re.search
This commit is contained in:
parent
e3b039b2e3
commit
34d20cab44
@ -352,7 +352,7 @@ class Weather(callbacks.Plugin):
|
||||
if m:
|
||||
severe = ircutils.bold(format(' %s', m.group(1)))
|
||||
if 'Search not found' in text or \
|
||||
re.search(text, r'size="2"> Place </font>', re.I):
|
||||
re.search(r'size="2"> Place </font>', text, re.I):
|
||||
self._noLocation()
|
||||
soup = BeautifulSoup.BeautifulSoup()
|
||||
soup.feed(text)
|
||||
|
Loading…
Reference in New Issue
Block a user