0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

Fix --throttled-rate

This commit is contained in:
pukkandan 2021-12-03 02:52:03 +05:30
parent 99148c6a33
commit 43b2290658
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

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