mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Updated for newly tweaked acronymfinder page.
This commit is contained in:
parent
d1bbb015a8
commit
d05a9a3121
@ -43,6 +43,7 @@ import urllib2
|
|||||||
import xml.dom.minidom
|
import xml.dom.minidom
|
||||||
from itertools import imap, ifilter
|
from itertools import imap, ifilter
|
||||||
|
|
||||||
|
import conf
|
||||||
import utils
|
import utils
|
||||||
import debug
|
import debug
|
||||||
import privmsgs
|
import privmsgs
|
||||||
@ -264,7 +265,7 @@ class Http(callbacks.Privmsg):
|
|||||||
quote = ' // '.join(quote.splitlines())
|
quote = ' // '.join(quote.splitlines())
|
||||||
irc.reply(msg, quote)
|
irc.reply(msg, quote)
|
||||||
|
|
||||||
_acronymre = re.compile(r'width="71%" bgcolor="[^"]+">(?:<b>)?([^<]+)')
|
_acronymre = re.compile(r'width="7\d%" bgcolor="[^"]+">(?:<b>)?([^<]+)')
|
||||||
def acronym(self, irc, msg, args):
|
def acronym(self, irc, msg, args):
|
||||||
"""<acronym>
|
"""<acronym>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user