Falsches "Link", wenn kein Beitragslink existiert...

This commit is contained in:
Andreas Bielawski 2017-09-21 11:30:53 +02:00
parent 7a6ca84b92
commit 4bf64b3f0f

2
bot.py
View File

@ -262,7 +262,7 @@ def check_feed(bot, key):
post_title = utils.remove_html_tags(entry['title']).strip()
post_title = post_title.replace('<', '&lt;').replace('>', '&gt;')
if 'link' not in entry:
post_link = entry.link
post_link = data.link
link_name = post_link
else:
post_link = entry.link