fix borg recreate --progress (broken by previous commit)

fixup for cb7887836a
This commit is contained in:
Thomas Waldmann 2018-03-10 15:41:01 +01:00
parent cb7887836a
commit f979349f07
1 changed files with 1 additions and 1 deletions

View File

@ -1818,7 +1818,7 @@ class ArchiveRecreater:
if 'chunks' in item:
self.process_chunks(archive, target, item)
target.stats.nfiles += 1
target.add_item(item, stats=self.stats)
target.add_item(item, stats=target.stats)
self.print_file_status(file_status(item.mode), item.path)
def process_chunks(self, archive, target, item):