Skip to content

Commit

Permalink
Fixes #1298 - Fixes du cmd error when no bucket in the account
Browse files Browse the repository at this point in the history
  • Loading branch information
fviard committed Sep 11, 2024
1 parent d78392e commit 10aea09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3cmd
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def subcmd_bucket_usage_all(s3):
total_size_str = str(total_size) + size_coeff
output(u"".rjust(12, "-"))
output(u"%s Total" % (total_size_str.ljust(12)))
return size
return buckets_size

def subcmd_bucket_usage(s3, uri):
"""
Expand Down

0 comments on commit 10aea09

Please sign in to comment.