From 87ad4d47741c73930c7f87ebec1ab17430f8a428 Mon Sep 17 00:00:00 2001 From: Paul Storkman Date: Tue, 29 Oct 2024 16:02:57 +0100 Subject: [PATCH] Fix quotes --- yt_dlp/YoutubeDL.py | 2 +- yt_dlp/options.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 2dcfde92d..754234adc 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1632,7 +1632,7 @@ def wrapper(self, *args, **kwargs): if max_wait_retries > 0: self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.') else: - self.report_error(f'Video is still unavailable after waiting.') + self.report_error('Video is still unavailable after waiting.') raise UserNotLive('Maximum number of retries exceeded while waiting for stream') if e.expected: self.to_screen(f'{e}; Re-extracting data') diff --git a/yt_dlp/options.py b/yt_dlp/options.py index e4df4e59e..a778f35c0 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -444,7 +444,7 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs): help='Do not wait for scheduled streams (default)') general.add_option( '--wait-retries', - dest='wait_retries', metavar='RETRIES', default="infinite", + dest='wait_retries', metavar='RETRIES', default='infinite', help='Number of retries while waiting for scheduled streams to become available (default is %default). --wait-for-video must also be set') general.add_option( '--mark-watched',