Skip to content

Commit

Permalink
Recent updates included.
Browse files Browse the repository at this point in the history
  • Loading branch information
Er1kkkaaa committed Mar 14, 2022
1 parent 45cde16 commit 2edb6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop_client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def humanize_filesize(filesize: int) -> str:
elif filesize < 1024 * 1024:
return "{}KB".format(math.floor(filesize / 1024))
else:
return "{}MB".format(math.floor(filesize / 1024**2))
return "{}MB".format(math.floor(filesize / 1024 ** 2))


@contextmanager
Expand Down

0 comments on commit 2edb6f2

Please sign in to comment.