aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index d405ed3e3..c56f31013 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -5739,7 +5739,7 @@ class RetryManager:
if not count:
return warn(e)
elif isinstance(e, ExtractorError):
- e = remove_end(e.cause or e.orig_msg, '.')
+ e = remove_end(str(e.cause) or e.orig_msg, '.')
warn(f'{e}. Retrying{format_field(suffix, None, " %s")} ({count}/{retries})...')
delay = float_or_none(sleep_func(n=count - 1)) if callable(sleep_func) else sleep_func