1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-28 03:22:54 +08:00

retries cannot be None, because a default was set

This commit is contained in:
Sepero 2012-10-30 21:58:57 -03:00
parent 76d7235f08
commit c4cb885a44

View File

@ -579,7 +579,7 @@ class FileDownloader(object):
resume_len = 0
count = 0
retries = self.params.get('retries', 0)
retries = self.params['retries']
while count <= retries:
# Establish connection
try: