mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed a stupid variable name (def\!)
This commit is contained in:
parent
5651ae2190
commit
6fa46793a0
@ -249,8 +249,8 @@ class Http(callbacks.Privmsg):
|
|||||||
return
|
return
|
||||||
quote = m.group(1)
|
quote = m.group(1)
|
||||||
quote = ' // '.join(quote.splitlines())
|
quote = ' // '.join(quote.splitlines())
|
||||||
for (def, replacement) in htmlentitydefs.entitydefs.iteritems():
|
for (entity, replacement) in htmlentitydefs.entitydefs.iteritems():
|
||||||
quote = quote.replace(def, replacement)
|
quote = quote.replace(entity, replacement)
|
||||||
irc.reply(msg, quote)
|
irc.reply(msg, quote)
|
||||||
|
|
||||||
_acronymre = re.compile('<td[^>]*><b>[^<]+</b></td>[^<]+<td[^>]*>(\w+)')
|
_acronymre = re.compile('<td[^>]*><b>[^<]+</b></td>[^<]+<td[^>]*>(\w+)')
|
||||||
|
Loading…
Reference in New Issue
Block a user