Add _percent on 'finished'

This commit is contained in:
Simon Sawicki 2024-08-03 23:23:16 +02:00
parent e3b8dde035
commit cc6bb9a343
No known key found for this signature in database

View File

@ -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(