summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 5acf6ca7..60387e7b 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -181,8 +181,8 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 
 				files = []
 				for name in filenames:
-					file_lstat = os.lstat(name)
 					try:
+						file_lstat = os.lstat(name)
 						if S_ISLNK(file_lstat.st_mode):
 							file_stat = os.stat(name)
 						else:
in&id=bd57b37fc52990f9c027d757578e3b7e37e4c9e6'>bd57b37f ^
8a73e0d1 ^


e8ffaf29 ^
70187b1c ^


5a6d2d0d ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19