From 43b2290658d37af9a2cb03f0407166eb9a172385 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 3 Dec 2021 02:52:03 +0530 Subject: [PATCH] Fix `--throttled-rate` --- yt_dlp/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index b40e275c0..7ac7a106b 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -2608,8 +2608,8 @@ class ThrottledDownload(ReExtractInfo): """ Download speed below --throttled-rate. """ msg = 'The download speed is below throttle limit' - def __init__(self, msg): - super().__init__(msg, expected=False) + def __init__(self): + super().__init__(self.msg, expected=False) class UnavailableVideoError(YoutubeDLError):