From 26d0dad6f5d1a07e5b6dfd870b7aa75585500a2e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 13 Jan 2022 11:19:52 +0000 Subject: [PATCH] Tidying --- webapp_podcast.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/webapp_podcast.py b/webapp_podcast.py index 04f13e881..55e8c5835 100644 --- a/webapp_podcast.py +++ b/webapp_podcast.py @@ -186,18 +186,14 @@ def html_podcast_episode(css_cache: {}, translate: {}, '\n \n' elif podcast_properties.get('linkMimeType'): if 'video' in podcast_properties['linkMimeType']: - video_extension = \ - podcast_properties['linkMimeType'].split('/')[1] + video_mime_type = podcast_properties['linkMimeType'] video_msg = 'Your browser does not support the video element.' podcast_str += \ - '
\n' + \ - ' \n
\n' + '
\n' + \ + ' \n
\n' podcast_title = \ remove_html(html.unescape(urllib.parse.unquote_plus(newswire_item[0])))