
5 Sep
2018
5 Sep
'18
7:44 p.m.
commit b5002e7e921a04bb32f8f4a0210fbcc58bdfcbcd Author: juga0 <juga@riseup.net> Date: Fri Aug 3 12:54:06 2018 +0000 Specify the unit is MiB --- sbws/util/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbws/util/fs.py b/sbws/util/fs.py index 5b48f3b..0f20d0a 100644 --- a/sbws/util/fs.py +++ b/sbws/util/fs.py @@ -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))