2
0
Эх сурвалжийг харах

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

Jaime Marquínez Ferrándiz 11 жил өмнө
parent
commit
29153f49b3

+ 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