mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Nicer error message.
This commit is contained in:
parent
3ef5f546a1
commit
8df0b3888f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user