Skip to content

Commit

Permalink
Deal with new archive_progress key (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Jun 8, 2022
1 parent 091c0dc commit 170ff95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vorta/borg/borg_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])}, "
Expand Down

0 comments on commit 170ff95

Please sign in to comment.