summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-02-15 13:00:49 +0100
committerhut <hut@lepus.uberspace.de>2014-02-15 13:00:49 +0100
commite52be7b05b904fbea2e69e7f29878594909243aa (patch)
tree0b76f0177eee55e8894fd8525b53846b1f8f8c63
parent80a7914a3fa737b7dd05af43d9347dc654db6064 (diff)
parent2d4c3048ed73127f9c8becef68317a313e84647d (diff)
downloadranger-e52be7b05b904fbea2e69e7f29878594909243aa.tar.gz
Merge branch 'master' of https://github.com/introom/ranger
-rw-r--r--ranger/core/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/environment.py b/ranger/core/environment.py
index 701870e1..562212d4 100644
--- a/ranger/core/environment.py
+++ b/ranger/core/environment.py
@@ -108,4 +108,4 @@ class Environment(SettingsAware, FileManagerAware, SignalDispatcher):
 
     def get_free_space(self, path):
         stat = os.statvfs(path)
-        return stat.f_bavail * stat.f_bsize
+        return stat.f_bavail * stat.f_frsize