summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/statusbar.py8
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):
James Booth <boothj5@gmail.com> 2016-07-04 00:41:29 +0100 Free plugins commands on quit' href='/danisanti/profani-tty/commit/tests/unittests/test_callbacks.c?id=71879a3f64f5f04cdceeedf0317175b2bab1701c'>71879a3f ^
a2726b6a ^
71879a3f ^

81b537b3 ^

d2a08714 ^
71879a3f ^

a2726b6a ^

71879a3f ^

71879a3f ^
a2726b6a ^
3fe1d76a ^


a2726b6a ^
3fe1d76a ^


a2726b6a ^
3fe1d76a ^


a2726b6a ^
3fe1d76a ^




a2726b6a ^
3fe1d76a ^











71879a3f ^
3fe1d76a ^
81b537b3 ^
d2a08714 ^
9cf78e59 ^

71879a3f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66