From 1329c91b640a7d389427370d0f0cf1d5ecf8a43c Mon Sep 17 00:00:00 2001 From: Jacob Mansfield Date: Sat, 30 Nov 2019 13:12:55 +0000 Subject: [PATCH] Video description can be null in RSS --- app/YtManagerApp/management/jobs/synchronize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/YtManagerApp/management/jobs/synchronize.py b/app/YtManagerApp/management/jobs/synchronize.py index 4026fa7..87eda27 100644 --- a/app/YtManagerApp/management/jobs/synchronize.py +++ b/app/YtManagerApp/management/jobs/synchronize.py @@ -119,7 +119,7 @@ class SynchronizeJob(Job): video = Video() video.video_id = video_id video.name = video_title - video.description = entry.find("{http://search.yahoo.com/mrss/}group").find("{http://search.yahoo.com/mrss/}description").text + video.description = entry.find("{http://search.yahoo.com/mrss/}group").find("{http://search.yahoo.com/mrss/}description").text or "" video.watched = False video.new = True video.downloaded_path = None