summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-30 00:34:41 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-30 00:34:41 +0200
commit265840a2448ec3c87594b3a73e95a364f85aa23b (patch)
tree83c6f61236894a97b08e06d5718f759199a786a7
parentderived mobile template from default (diff)
downloadpyload-265840a2448ec3c87594b3a73e95a364f85aa23b.tar.xz
Fixed free space issue closed #676
-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