[EmbedThumbnail] Fix for already downloaded thumbnail

This commit is contained in:
pukkandan
2021-06-11 17:37:02 +05:30
parent 187986a857
commit 8ba8714880
2 changed files with 2 additions and 1 deletions

View File

@@ -3247,6 +3247,7 @@ class YoutubeDL(object):
if not self.params.get('overwrites', True) and os.path.exists(encodeFilename(thumb_filename)):
ret.append(suffix + thumb_ext)
t['filepath'] = thumb_filename
self.to_screen('[%s] %s: Thumbnail %sis already present' %
(info_dict['extractor'], info_dict['id'], thumb_display_id))
else: