Skip to content

Commit

Permalink
Cosmetic change
Browse files Browse the repository at this point in the history
Just a cosmetic change
  • Loading branch information
GeoHaber committed Sep 1, 2024
1 parent 2290701 commit 84054c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions My_Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,10 +441,10 @@ def hm_sz(numb: Union[str, int, float], type: str = "B") -> str:

for unit in units:
if numb < 1024.0:
return f"{sign}{numb:.2f}{unit}"
return f"{sign}{numb:.2f} {unit}"
numb /= 1024.0

return f"{sign}{numb:.2f}{units[-1]}"
return f"{sign}{numb:.2f} {units[-1]}"
##==============------------------- End -------------------==============##

def hm_time(timez: float) -> str:
Expand Down

0 comments on commit 84054c2

Please sign in to comment.