Fix `--throttled-rate`

pull/1884/head
pukkandan 2 years ago
parent 99148c6a33
commit 43b2290658
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -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):

Loading…
Cancel
Save