ソースを参照

[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