1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:02:52 +08:00

Merge pull request #6372 from raphaelm/patch-1

Remove redundant (and wrong) class parameters
This commit is contained in:
Sergey M. 2015-07-29 02:46:53 +06:00
commit 5d8df28d27

View File

@ -576,11 +576,9 @@ class ContentTooShortError(Exception):
download is too small for what the server announced first, indicating download is too small for what the server announced first, indicating
the connection was probably interrupted. the connection was probably interrupted.
""" """
# Both in bytes
downloaded = None
expected = None
def __init__(self, downloaded, expected): def __init__(self, downloaded, expected):
# Both in bytes
self.downloaded = downloaded self.downloaded = downloaded
self.expected = expected self.expected = expected