mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
The 'seen' regex for gkstats was changed back to searching through text instead of html.
This commit is contained in:
parent
c251ad32f3
commit
c7a867b589
@ -165,7 +165,7 @@ class Http(callbacks.Privmsg):
|
|||||||
rating = self._gkrating.search(profile).group(1)
|
rating = self._gkrating.search(profile).group(1)
|
||||||
games = self._gkgames.search(profile).group(1)
|
games = self._gkgames.search(profile).group(1)
|
||||||
(w, l, d) = self._gkrecord.search(profile).groups()
|
(w, l, d) = self._gkrecord.search(profile).groups()
|
||||||
seen = self._gkseen.search(profile).group(1)
|
seen = self._gkseen.search(utils.htmlToText(profile)).group(1)
|
||||||
if seen.find("is hiding") != -1:
|
if seen.find("is hiding") != -1:
|
||||||
seen = '%s is hiding his/her online status.' % name
|
seen = '%s is hiding his/her online status.' % name
|
||||||
elif seen.startswith('0'):
|
elif seen.startswith('0'):
|
||||||
|
Loading…
Reference in New Issue
Block a user