0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-24 02:35:12 +00:00

[SubtitleConvertor] Fix warning for when sub file is missing

This commit is contained in:
ClosedPort22 2024-08-20 23:06:21 +08:00
parent 649eaf2077
commit 44311d7126
No known key found for this signature in database

View file

@ -968,7 +968,7 @@ def run(self, info):
sub_filenames = []
for lang, sub in subs.items():
if not os.path.exists(sub.get('filepath', '')):
self.report_warning(f'Skipping embedding {lang} subtitle because the file is missing')
self.report_warning(f'Skipping converting {lang} subtitle because the file is missing')
continue
ext = sub['ext']
if ext == new_ext: