diff options
author | introom <i@introo.me> | 2013-12-28 15:33:57 +0800 |
---|---|---|
committer | introom <i@introo.me> | 2013-12-28 15:33:57 +0800 |
commit | 2d4c3048ed73127f9c8becef68317a313e84647d (patch) | |
tree | 4b786eaf47e2c1b75b989c6835c1107ebeed5dd4 | |
parent | 1bf58392c6b26d9e6d4c5886a51c94d2526cd767 (diff) | |
download | ranger-2d4c3048ed73127f9c8becef68317a313e84647d.tar.gz |
fix improper display of disk free size on os x
-rw-r--r-- | ranger/core/environment.py | 2 |
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 |