summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/utils/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/utils/fs.py b/module/utils/fs.py
index 9b9eb9040..1894bc49a 100644
--- a/module/utils/fs.py
+++ b/module/utils/fs.py
@@ -69,4 +69,4 @@ def free_space(folder):
from os import statvfs
s = statvfs(folder)
- return s.f_bsize * s.f_bavail
+ return s.f_frsize * s.f_bavail