undo none check

This commit is contained in:
Jesse Bannon 2023-03-12 18:19:40 -07:00
parent 150ab69da2
commit d0498b3961

View file

@ -642,10 +642,6 @@ class Downloader(DownloadArchiver, Generic[DownloaderOptionsT], ABC):
Downloads and moves channel avatar and banner images to the output directory. Downloads and moves channel avatar and banner images to the output directory.
""" """
for thumbnail_info in thumbnail_list_info.list: for thumbnail_info in thumbnail_list_info.list:
# If thumbnail name was set to empty, do nothing
if thumbnail_info.name is None:
continue
thumbnail_name = self.overrides.apply_formatter(thumbnail_info.name, entry=entry) thumbnail_name = self.overrides.apply_formatter(thumbnail_info.name, entry=entry)
thumbnail_id = self.overrides.apply_formatter(thumbnail_info.uid) thumbnail_id = self.overrides.apply_formatter(thumbnail_info.uid)