A feature-rich command-line audio/video downloader
[bbc] Fix FutureWarning
Sergey M․8daeeedc06f4
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.pyindex 68995f81e9..1b3a33e4e3 100644--- a/youtube_dl/extractor/bbc.py+++ b/youtube_dl/extractor/bbc.py@@ -421,7 +421,7 @@ class BBCCoUkIE(InfoExtractor):continuetitle = playlist.find('./{%s}title' % self._EMP_PLAYLIST_NS).textdescription_el = playlist.find('./{%s}summary' % self._EMP_PLAYLIST_NS)- description = description_el.text if description_el else None+ description = description_el.text if description_el is not None else Nonedef get_programme_id(item):def get_from_attributes(item):