1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 10:27:14 +08:00

throttling_start should start with None

This commit is contained in:
arichi 2016-12-18 21:08:54 +08:00
parent 7e1ac8ed0a
commit d324742a17

View File

@ -227,7 +227,7 @@ class HttpFD(FileDownloader):
now = None # needed for slow_down() in the first loop run
before = start # start measuring
peak_rate = 0
throttling_start = time.time()
throttling_start = None
throttling_threshold = None
throttling_start_size = 0
while True: