1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-12 10:11:02 +01:00

Remove redundant (and wrong) class parameters

This commit is contained in:
Raphael Michel 2015-07-26 16:37:51 +02:00
parent 4c6bd5b5b6
commit 2c7ed24796

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