瀏覽代碼

[downloader/hls] Use the correct program when reporting an error

Jaime Marquínez Ferrándiz 11 年之前
父節點
當前提交
29153f49b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/downloader/hls.py

+ 1 - 1
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