summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-24 12:27:33 +0100
committerhut <hut@lavabit.com>2009-12-24 12:27:33 +0100
commitf13e7310ef7b9fa91f219c91e03f46573d42d2ed (patch)
tree5b6c5046eb26e4ca128d255db77f474b110a4992
parenta396b3a0a77fb13834c3ed2fe7bd3838a73c5c00 (diff)
downloadranger-f13e7310ef7b9fa91f219c91e03f46573d42d2ed.tar.gz
minor fix
-rw-r--r--ranger/fsobject/directory.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index d7583025..66d99464 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -124,7 +124,10 @@ class Directory(SuperClass, SettingsAware):
 			files = []
 			for name in self.filenames:
 				if isdir(name):
-					item = self.fm.env.get_directory(name)
+					try:
+						item = self.fm.env.get_directory(name)
+					except:
+						item = Directory(name)
 				else:
 					item = File(name)
 				item.load_if_outdated()
6d445ca67c6a0e8c9cf33e46bc673c'>^
6602c82f ^
8188bbbc ^

6030d7e2 ^
33352536 ^
6602c82f ^
ecfbbfb5 ^
9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
9d27e966 ^
ecfbbfb5 ^
6602c82f ^
6030d7e2 ^
9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
9d27e966 ^
33352536 ^
6030d7e2 ^
6602c82f ^
ecfbbfb5 ^

294a1520 ^
ee9a9237 ^
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