1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-25 12:12:55 +08:00

[downloader/fragment] Set 'total_bytes' in progress hook to None

To be consistent with progress hook documentation.

Fixes #8711
This commit is contained in:
zhuyifei1999 2016-03-01 22:14:14 +08:00
parent 9fb556eef0
commit 7e08072b8d

View File

@ -62,6 +62,7 @@ class FragmentFD(FileDownloader):
'frag_count': total_frags,
'filename': ctx['filename'],
'tmpfilename': ctx['tmpfilename'],
'total_bytes': None,
}
start = time.time()