mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
[SubtitleConvertor] Fix warning for when sub file is missing
This commit is contained in:
parent
649eaf2077
commit
44311d7126
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
|
||||||
sub_filenames = []
|
sub_filenames = []
|
||||||
for lang, sub in subs.items():
|
for lang, sub in subs.items():
|
||||||
if not os.path.exists(sub.get('filepath', '')):
|
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
|
continue
|
||||||
ext = sub['ext']
|
ext = sub['ext']
|
||||||
if ext == new_ext:
|
if ext == new_ext:
|
||||||
|
|
Loading…
Reference in a new issue