summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-03 04:46:53 +0200
committerhut <hut@lavabit.com>2011-10-03 04:46:53 +0200
commit6cf3818d93a325b53e8792722ce799cabe576dd6 (patch)
tree4a20d9ce5cb4906c96d6defd0ae7d956b3216c32
parent9095d0f622be44918abc0709df3574bffa277a80 (diff)
downloadranger-6cf3818d93a325b53e8792722ce799cabe576dd6.tar.gz
fsobject.directory: Fix infinite recursion loop
-rw-r--r--ranger/fsobject/directory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index 6d34b02d..6b0666e0 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -330,6 +330,7 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware):
 		except OSError:
 			self.infostring = '?'
 			self.accessible = False
+			self.runnable = False
 			return 0
 		else:
 			self.infostring = ' %d' % size