mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[hls] Fix the program name when reporting the file size
This commit is contained in:
parent
bb3c20965e
commit
70af3439e9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def real_download(self, filename, info_dict):
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue