Merge pull request #961 from Mikaela/web

Web: fix unmatched parenthesis and add missing dot
This commit is contained in:
Valentin Lorentz 2014-12-20 12:23:23 +01:00
commit 2ef99e8c3c

View File

@ -279,7 +279,7 @@ class Web(callbacks.PluginRegexp):
parser = Title()
if sys.version_info[0] >= 3 and isinstance(text, bytes):
irc.error(_('Could not guess the page\'s encoding. (Try '
'installing python-charade'), Raise=True)
'installing python-charade.)'), Raise=True)
try:
parser.feed(text)
except HTMLParser.HTMLParseError: