Fixed a stupid variable name (def\!)

This commit is contained in:
Jeremy Fincher 2003-03-25 19:21:42 +00:00
parent 5651ae2190
commit 6fa46793a0

View File

@ -249,8 +249,8 @@ class Http(callbacks.Privmsg):
return
quote = m.group(1)
quote = ' // '.join(quote.splitlines())
for (def, replacement) in htmlentitydefs.entitydefs.iteritems():
quote = quote.replace(def, replacement)
for (entity, replacement) in htmlentitydefs.entitydefs.iteritems():
quote = quote.replace(entity, replacement)
irc.reply(msg, quote)
_acronymre = re.compile('<td[^>]*><b>[^<]+</b></td>[^<]+<td[^>]*>(\w+)')