mirror of
				https://code.hackerspace.pl/q3k/youtube-dl
				synced 2025-03-16 11:43:02 +00:00 
			
		
		
		
	Merge pull request #2463 from rzhxeo/resume
Set resume_len to 0 if download is restarted
This commit is contained in:
		
						commit
						fbcf3e416d
					
				| @ -85,6 +85,7 @@ class HttpFD(FileDownloader): | |||||||
|                         else: |                         else: | ||||||
|                             # The length does not match, we start the download over |                             # The length does not match, we start the download over | ||||||
|                             self.report_unable_to_resume() |                             self.report_unable_to_resume() | ||||||
|  |                             resume_len = 0 | ||||||
|                             open_mode = 'wb' |                             open_mode = 'wb' | ||||||
|                             break |                             break | ||||||
|             # Retry |             # Retry | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
						Philipp Hagemeister