Formatting mistake

This commit is contained in:
Paul Storkman 2024-10-31 14:31:23 +01:00
parent 5c4df56d6d
commit 716972da6b

View file

@ -1630,7 +1630,7 @@ def wrapper(self, *args, **kwargs):
except ReExtractInfo as e: except ReExtractInfo as e:
if wait_retries >= max_wait_retries: if wait_retries >= max_wait_retries:
if max_wait_retries > 0: if max_wait_retries > 0:
self.report_error(f'Giving up after {wait_retries} {"retries" if wait_retries > 2 else "retry"} while waiting.') self.report_error(f'Giving up after {wait_retries} {"retries" if wait_retries > 1 else "retry"} while waiting.')
else: else:
self.report_error('Video is still unavailable after waiting.') self.report_error('Video is still unavailable after waiting.')
return return