mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 04:51:06 -05:00
Changed acronym to use %r for definitions so they get quoted.
This commit is contained in:
parent
f9cdb62725
commit
d6f7fef0f8
@ -268,7 +268,7 @@ class Http(callbacks.Privmsg):
|
|||||||
irc.reply(msg, 'No definitions found.')
|
irc.reply(msg, 'No definitions found.')
|
||||||
else:
|
else:
|
||||||
defs=[x[1].strip() for x in defs[1:-1]][:5]
|
defs=[x[1].strip() for x in defs[1:-1]][:5]
|
||||||
irc.reply(msg, '%s could be %s' % (acronym, ', or '.join(defs)))
|
irc.reply(msg, '%s could be %r' % (acronym, ', or '.join(defs)))
|
||||||
|
|
||||||
Class = Http
|
Class = Http
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user