Skip to content

Commit

Permalink
Merge branch 'yt-dlp:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
observeroftime01 authored Oct 23, 2023
2 parents 6038baf + a40e0b3 commit c86f853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/YoutubeDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -4244,7 +4244,7 @@ def _write_thumbnails(self, label, info_dict, filename, thumb_filename_base=None
self.write_debug(f'Skipping writing {label} thumbnail')
return ret

if not self._ensure_dir_exists(filename):
if thumbnails and not self._ensure_dir_exists(filename):
return None

for idx, t in list(enumerate(thumbnails))[::-1]:
Expand Down

0 comments on commit c86f853

Please sign in to comment.