Skip to content

Commit

Permalink
Fix suprsync uncopied_files stat (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmharrington authored and d-hoshino2626 committed Apr 12, 2024
1 parent 24c29ab commit 33c8999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socs/db/suprsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def get_archive_stats(self, archive_name, session=None):
stats = {
'finalized_until': finalized_until,
'num_files': len(files),
'uncopied_files': len([f for f in files if f.copied is None]),
'uncopied_files': num_files_to_copy,
'last_file_added': last_file_added,
'last_file_copied': last_file_copied,
}
Expand Down

0 comments on commit 33c8999

Please sign in to comment.