Set resume_len to 0 if download is restarted

pull/2463/head
rzhxeo 2014-02-26 02:47:27 +01:00
rodzic a83a3139d1
commit 60daf7f0bb
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -85,6 +85,7 @@ class HttpFD(FileDownloader):
else:
# The length does not match, we start the download over
self.report_unable_to_resume()
resume_len = 0
open_mode = 'wb'
break
# Retry