This commit is contained in:
Jeremy Fincher 2003-12-05 12:01:19 +00:00
parent f8f0333a9c
commit 5a6b5329f1

View File

@ -143,7 +143,8 @@ class Http(callbacks.Privmsg):
if m is not None: if m is not None:
irc.reply(msg, utils.htmlToText(m.group(1).strip())) irc.reply(msg, utils.htmlToText(m.group(1).strip()))
else: else:
irc.reply(msg, 'That URL appears to have no HTML title.') irc.reply(msg, 'That URL appears to have no HTML title '
'within the first %s bytes.' % self.maxSize)
except ValueError, e: except ValueError, e:
irc.error(msg, str(e)) irc.error(msg, str(e))