From: Sergey M․ Date: Tue, 17 Oct 2017 15:53:34 +0000 (+0700) Subject: [downloader/fragment] Report warning instead of error on inconsistent download state X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6f3b4a98c96c54eb0e3933b3cd6b4e6848582a02;p=youtube-dl [downloader/fragment] Report warning instead of error on inconsistent download state --- 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