mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
Deal with new archive_progress key (#1353)
This commit is contained in:
parent
091c0dcacd
commit
170ff954ff
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ def read_async(fd):
|
|||
|
||||
elif parsed['type'] == 'file_status':
|
||||
self.app.backup_log_event.emit(f'{parsed["path"]} ({parsed["status"]})', {})
|
||||
elif parsed['type'] == 'archive_progress':
|
||||
elif parsed['type'] == 'archive_progress' and not parsed.get('finished', False):
|
||||
msg = (
|
||||
f"{translate('BorgJob','Files')}: {parsed['nfiles']}, "
|
||||
f"{translate('BorgJob','Original')}: {pretty_bytes(parsed['original_size'])}, "
|
||||
|
|
Loading…
Reference in a new issue