fix item image attribution text in audio/rss_utils.py

This commit is contained in:
Trent Palmer 2021-07-15 18:19:59 -07:00
parent 66a6704384
commit 70900bca6b

View File

@ -18,7 +18,7 @@ def get_rss_item_desc(item):
if item.image_attribution_url == '': if item.image_attribution_url == '':
i = f'{item.image_attribution}' i = f'{item.image_attribution}'
else: else:
i = f'<a href="{item.image_attribution_url}">{item.feed.image_attribution}</a>' i = f'<a href="{item.image_attribution_url}">{item.image_attribution}</a>'
j = f' is licensed <a href="{item.image_license_url}">{item.image_license_name}</a>' j = f' is licensed <a href="{item.image_license_url}">{item.image_license_name}</a>'
k = f' {item.image_license_jurisdiction}.</p>' k = f' {item.image_license_jurisdiction}.</p>'