mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-19 00:22:50 +01:00
Merge pull request #961 from Mikaela/web
Web: fix unmatched parenthesis and add missing dot
This commit is contained in:
commit
2ef99e8c3c
@ -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…
Reference in New Issue
Block a user