mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 10:51:26 +01:00
Compare commits
2 Commits
dd861e25ce
...
b1baf9ee9b
Author | SHA1 | Date | |
---|---|---|---|
|
b1baf9ee9b | ||
|
a40e0b37df |
|
@ -4242,7 +4242,7 @@ class YoutubeDL:
|
|||
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]:
|
||||
|
|
Loading…
Reference in New Issue
Block a user