summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/directory.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index c5c1e6a9..3c0f680d 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -46,7 +46,7 @@ def sort_naturally(path):
 def sort_naturally_icase(path):
 	return path.basename_natural_lower
 
-def accept_file(fname, hidden_filter, name_filter):
+def accept_file(fname, dirname, hidden_filter, name_filter):
 	if hidden_filter:
 		try:
 			if hidden_filter.search(fname):
@@ -182,8 +182,8 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware):
 				hidden_filter = not self.settings.show_hidden \
 						and self.settings.hidden_filter
 				filenames = [mypath + (mypath == '/' and fname or '/' + fname)\
-						for fname in os.listdir(mypath) \
-						if accept_file(fname, hidden_filter, self.filter)]
+						for fname in os.listdir(mypath) if accept_file(
+							fname, mypath, hidden_filter, self.filter)]
 				yield
 
 				self.load_content_mtime = os.stat(mypath).st_mtime
d=e6cc22396affaaacb8e256e5339ba6b0f9806cff'>e6cc223 ^
a1e9362 ^




551d6bb ^

e6cc223 ^
cbfc69e ^

cdbc84b ^

e6cc223 ^
551d6bb ^
1076f2b

b515765 ^
95e8d12 ^
8b59083 ^
7b5638f ^
7c2e3bb ^
7b5638f ^
2aef8b9 ^
281f098 ^
0045ad8 ^
2aef8b9 ^
96d7fe1 ^
281f098 ^
b5159df ^
1076f2b
da2bbd3 ^
1173723 ^
346bdea ^
a05beb6 ^
9ca5c3b ^
a05beb6 ^
22399a3 ^
338c083 ^
b355755 ^
1076f2b
72707c2 ^
15abade ^
bf35794 ^
1076f2b

cdbc84b ^
8d11163 ^













b3419f4 ^






36672d0 ^
86953bd ^
b3419f4 ^



b3419f4 ^
39677ec ^
439e15d ^
1df4559 ^
83aa110 ^
1df4559 ^

199a601 ^
2aef8b9 ^
1df4559 ^

f841501 ^
83aa110 ^
36672d0 ^
2aef8b9 ^
1df4559 ^
3399650 ^
e750878 ^
1df4559 ^


e750878 ^
dba2306 ^
1df4559 ^
b9da4b0 ^
9e8b325 ^
96d7fe1 ^

b975c47 ^
1df4559 ^
9e8b325 ^
47765f7 ^
50be6c8 ^
47765f7 ^
1df4559 ^
47765f7 ^





1df4559 ^
47765f7 ^


ab3d6a7 ^
47765f7 ^
10d13f0 ^
47765f7 ^
2aef8b9 ^
1df4559 ^
b975c47 ^
1df4559 ^
4cdbd52 ^

1df4559 ^


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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146