Add `_percent` on 'finished'

pull/10649/head
Simon Sawicki 12 months ago
parent e3b8dde035
commit cc6bb9a343
No known key found for this signature in database

@ -368,6 +368,7 @@ class FileDownloader:
'_speed_str': self.format_speed(speed).strip(),
'_total_bytes_str': _format_bytes('total_bytes'),
'_elapsed_str': self.format_seconds(s.get('elapsed')),
'_percent': 100.0,
'_percent_str': self.format_percent(100),
})
self._report_progress_status(s, join_nonempty(

Loading…
Cancel
Save