Nicer error message.

This commit is contained in:
Jeremy Fincher 2003-12-09 20:46:40 +00:00
parent 3ef5f546a1
commit 8df0b3888f
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class RSS(callbacks.Privmsg):
headlines = [utils.htmlToText(d['title'].strip())
for d in feed['items']]
if not headlines:
irc.error(msg, 'Error grabbing RSS feed')
irc.error(msg, 'Couldn\'t get RSS feed')
return
headlines = imap(utils.htmlToText, headlines)
irc.reply(msg, ' :: '.join(headlines))