Commit b5002e7e authored by juga's avatar juga Committed by Matt Traudt
Browse files

Specify the unit is MiB

parent a602a54e
......@@ -39,7 +39,7 @@ def sbws_required_disk_space(conf):
def df(path):
"""Return space left on device where path is."""
"""Return space left on device where path is in MiB."""
return round(shutil.disk_usage(path).free / (1024 ** 2))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment