Merge Upstream

This commit is contained in:
Akamaru 2017-10-04 13:05:02 +02:00
commit a405be8cb9

2
bot.py
View File

@ -246,7 +246,7 @@ def check_feed(bot, key):
logger.info(feed_url)
data = feedparser.parse(feed_url)
if 'link' not in data.feed:
logger.warning('Kein gültiger Feed, Status-Code ' + str(data.status))
logger.warning('Kein gültiger Feed, Status-Code ' + str(data["status"]))
return None
if 'title' not in data.feed:
feed_title = data.feed['link']