From 42e3546fb53c016a5a10ffdd60dc50c5f4e1234e Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Mon, 19 Apr 2010 19:25:47 +0200 Subject: [PATCH] Increment number of downloads when the file has already been fully downloaded --- youtube-dl | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube-dl b/youtube-dl index 6389c656e1..72b09a0c24 100755 --- a/youtube-dl +++ b/youtube-dl @@ -536,6 +536,7 @@ class FileDownloader(object): if content_length is not None and long(content_length) == resume_len: # Because the file had already been fully downloaded self.report_file_already_downloaded(filename) + self._num_downloads += 1 return True else: # Because the server didn't let us