Browse Source

Remove redundant (and wrong) class parameters

totalwebcasting
Raphael Michel 9 years ago
parent
commit
2c7ed24796
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      youtube_dl/utils.py

+ 1
- 3
youtube_dl/utils.py View File

@ -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…
Cancel
Save