mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Slight bugfix.
This commit is contained in:
parent
dae0db1de5
commit
d9d8c04e24
@ -219,7 +219,9 @@ class Http(callbacks.Privmsg):
|
|||||||
html = webutils.getUrl(url)
|
html = webutils.getUrl(url)
|
||||||
m = self._cyborgRe.search(html)
|
m = self._cyborgRe.search(html)
|
||||||
if m:
|
if m:
|
||||||
irc.reply(m.group(1))
|
s = m.group(1)
|
||||||
|
s = utils.normalizeWhitespace(s)
|
||||||
|
irc.reply(s)
|
||||||
else:
|
else:
|
||||||
irc.errorPossibleBug('No cyborg name returned.')
|
irc.errorPossibleBug('No cyborg name returned.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user