From 019286fab60ac41186e0c3c55eeb9c335160ede8 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sun, 25 Apr 2021 22:33:27 -0700 Subject: [PATCH] update audio/rss_utils.py fix errors --- audio/rss_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/rss_utils.py b/audio/rss_utils.py index dc21723..fef890c 100644 --- a/audio/rss_utils.py +++ b/audio/rss_utils.py @@ -15,7 +15,7 @@ def get_rss_item_desc(item): g = f' {item.feed.image_license_jurisdiction}.

' h = f'

Photo {item.image_title} by ' - if item.feed.image_attribution_url == '': + if item.image_attribution_url == '': i = f'{item.image_attribution}' else: i = f'{item.feed.image_attribution}' @@ -36,6 +36,6 @@ def get_rss_item_desc(item): else: q = f' Intro by {item.feed.intro_author}.' - r = f' {item.feed.image_license_jurisdiction}.{p}{q}

' + r = f' {item.feed.license_jurisdiction}.{p}{q}

' return f'{a}{b}{c}{d}{e}{f}{g}{h}{i}{j}{k}{m}{n}{o}{r}'