diff options
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index f068bc7e..71064ed4 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -281,7 +281,7 @@ class StatusBar(Widget): # pylint: disable=too-many-instance-attributes right.add(human_readable(target.disk_usage, separator='') + " sum") if self.settings.display_free_space_in_status_bar: try: - free = get_free_space(target.mount_path) + free = get_free_space(target.path) except OSError: pass else: |