From bd730470f2ebafcf102804ba7ef326df6087b43b Mon Sep 17 00:00:00 2001 From: bashonly Date: Sat, 22 Jul 2023 13:32:10 -0500 Subject: [PATCH] Cleanup --- yt_dlp/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 4368ec57a..1965f40a2 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3298,7 +3298,7 @@ def existing_video_file(*filepaths): fd = get_suitable_downloader(info_dict, self.params, to_stdout=temp_filename == '-') if fd not in [FFmpegFD, DashSegmentsFD] and 'no-direct-merge' not in self.params['compat_opts'] and ( info_dict.get('section_start') or info_dict.get('section_end')): - msg = (f'This format cannot be partially downloaded {fd}' if FFmpegFD.available() + msg = ('This format cannot be partially downloaded' if FFmpegFD.available() else 'You have requested downloading the video partially, but ffmpeg is not installed') self.report_error(f'{msg}. Aborting') return