From aca217f9ea708bcb9b5caca53112c34558484e16 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Thu, 4 Jun 2015 12:38:16 +0200 Subject: [PATCH] [Feeds] fix updating of content_types field --- mygpo/data/feeddownloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mygpo/data/feeddownloader.py b/mygpo/data/feeddownloader.py index 747cb5d8..4d23952f 100755 --- a/mygpo/data/feeddownloader.py +++ b/mygpo/data/feeddownloader.py @@ -151,8 +151,8 @@ def _update_podcast(podcast, parsed, episodes, max_episode_order): podcast.author) podcast.language = to_maxlength(Podcast, 'language', parsed.get('language') or podcast.language) - podcast.content_types = ','.join(parsed.get('content_types') or - podcast.content_types) + podcast.content_types = ','.join(parsed.get('content_types')) or \ + podcast.content_types #podcast.tags['feed'] = parsed.tags or podcast.tags.get('feed', []) podcast.common_episode_title = to_maxlength( Podcast, -- 2.11.4.GIT