diff options
author | hut <hut@lavabit.com> | 2010-04-13 14:35:49 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-13 16:15:06 +0200 |
commit | c5d42b436afe9674a7f620c626592cff9a059981 (patch) | |
tree | 5fcf4fadf7a721d2e0a6b6643f9807d81b86d3cf /ranger | |
parent | dd6c4eee64d8a6f5cdc8e6c9332ad2f4435f15c6 (diff) | |
download | ranger-c5d42b436afe9674a7f620c626592cff9a059981.tar.gz |
Fixed broken statusbar
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 78666a3d..caf5786e 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -145,10 +145,7 @@ class StatusBar(Widget): target = self.column.target.pointed_obj else: target = self.env.at_level(0).pointed_obj - - if target is None \ - or not target.accessible \ - or (target.is_directory and target.files is None): + if target is None or not target.accessible: return perms = target.get_permission_string() @@ -204,9 +201,6 @@ class StatusBar(Widget): return target = self.column.target - if target is None: - return - if target is None \ or not target.accessible \ or (target.is_directory and target.files is None): |