From 6cf3818d93a325b53e8792722ce799cabe576dd6 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 3 Oct 2011 04:46:53 +0200 Subject: fsobject.directory: Fix infinite recursion loop --- ranger/fsobject/directory.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.4.1-2-gfad0