From 4cb19a7ba557b136a1961c3497500f1935760af3 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Wed, 4 Oct 2017 12:47:35 +0200 Subject: [PATCH] =?UTF-8?q?AttributeError=20bei=20ung=C3=BCltigem=20Feed?= =?UTF-8?q?=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 2c9377e..950c49b 100644 --- a/bot.py +++ b/bot.py @@ -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']