mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Web: fix unmatched parenthesis and add missing dot
This commit is contained in:
parent
92601ef845
commit
64c0e38635
@ -279,7 +279,7 @@ class Web(callbacks.PluginRegexp):
|
|||||||
parser = Title()
|
parser = Title()
|
||||||
if sys.version_info[0] >= 3 and isinstance(text, bytes):
|
if sys.version_info[0] >= 3 and isinstance(text, bytes):
|
||||||
irc.error(_('Could not guess the page\'s encoding. (Try '
|
irc.error(_('Could not guess the page\'s encoding. (Try '
|
||||||
'installing python-charade'), Raise=True)
|
'installing python-charade.)'), Raise=True)
|
||||||
try:
|
try:
|
||||||
parser.feed(text)
|
parser.feed(text)
|
||||||
except HTMLParser.HTMLParseError:
|
except HTMLParser.HTMLParseError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user