Skip to content

Commit

Permalink
Ok. This time for sure! (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
kauberry authored and dmlb2000 committed Jan 29, 2019
1 parent 187fb01 commit d8b5f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacifica/metadata/rest/transaction_queries/query_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def _get_transaction_sizes(transaction_list):
results = {}
for trans in transactions:
results[trans.id.id] = {
'total_file_size_bytes': int(getattr(trans, 'file_size_bytes', 0)),
'total_file_count': int(getattr(trans, 'file_count', 0))
'total_file_size_bytes': int(trans.file_size_bytes or 0),
'total_file_count': int(trans.file_count or 0)
}
return results

Expand Down

0 comments on commit d8b5f86

Please sign in to comment.