From: Jaime Marquínez Ferrándiz Date: Wed, 27 Aug 2014 13:39:16 +0000 (+0200) Subject: [downloader/hls] Use the correct program when reporting an error X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=29153f49b341858bf3da3b34fb5cc5772bafc83e;hp=071a236c5a906b43f1e10f8fd80ba34b02130604;p=youtube-dl [downloader/hls] Use the correct program when reporting an error --- diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 9f29e2f81..4082e481a 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -42,5 +42,5 @@ class HlsFD(FileDownloader): return True else: self.to_stderr(u"\n") - self.report_error(u'ffmpeg exited with code %d' % retval) + self.report_error(u'%s exited with code %d' % (program, retval)) return False