A feature-rich command-line audio/video downloader
[hls] Fix the program name when reporting the file size
Jaime Marquínez Ferrándiz70af3439e924
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.pyindex 51e8c4778d..fa983462ba 100644--- a/youtube_dl/downloader/hls.py+++ b/youtube_dl/downloader/hls.py@@ -29,7 +29,7 @@ class HlsFD(FileDownloader):retval = subprocess.call(cmd)if retval == 0:fsize = os.path.getsize(encodeFilename(tmpfilename))- self.to_screen(u'\r[%s] %s bytes' % (args[0], fsize))+ self.to_screen(u'\r[%s] %s bytes' % (cmd[0], fsize))self.try_rename(tmpfilename, filename)self._hook_progress({'downloaded_bytes': fsize,