diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-17 22:53:34 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-17 22:53:34 +0700 |
commit | 6f3b4a98c96c54eb0e3933b3cd6b4e6848582a02 (patch) | |
tree | 542a412e67cbcdeb2ce4d993e3a003cd9543287a /youtube_dl/downloader | |
parent | fa4bc6e71261613cf530437a2407ff7b61ea6cb5 (diff) |
[downloader/fragment] Report warning instead of error on inconsistent download state
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/fragment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/fragment.py b/youtube_dl/downloader/fragment.py index 7e891b92a..93002e45a 100644 --- a/youtube_dl/downloader/fragment.py +++ b/youtube_dl/downloader/fragment.py @@ -158,7 +158,7 @@ class FragmentFD(FileDownloader): if os.path.isfile(encodeFilename(self.ytdl_filename(ctx['filename']))): self._read_ytdl_file(ctx) if ctx['fragment_index'] > 0 and resume_len == 0: - self.report_error( + self.report_warning( 'Inconsistent state of incomplete fragment download. ' 'Restarting from the beginning...') ctx['fragment_index'] = resume_len = 0 |