mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-22 22:47:55 +01:00
Merge pull request #6372 from raphaelm/patch-1
Remove redundant (and wrong) class parameters
This commit is contained in:
commit
5d8df28d27
@ -576,11 +576,9 @@ class ContentTooShortError(Exception):
|
||||
download is too small for what the server announced first, indicating
|
||||
the connection was probably interrupted.
|
||||
"""
|
||||
# Both in bytes
|
||||
downloaded = None
|
||||
expected = None
|
||||
|
||||
def __init__(self, downloaded, expected):
|
||||
# Both in bytes
|
||||
self.downloaded = downloaded
|
||||
self.expected = expected
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user