mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
Changed humanize_megabytes
This commit is contained in:
parent
fab2a612ac
commit
ee7ec9bfb3
@ -106,8 +106,6 @@ def humanize_megabytes(mb):
|
||||
if not mb:
|
||||
return ""
|
||||
|
||||
print(factors['mega'])
|
||||
|
||||
bytes = int(mb * 1024**2)
|
||||
|
||||
if bytes >= factors["tera"]:
|
||||
|
Loading…
Reference in New Issue
Block a user