summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-10 15:04:09 +0100
committerhut <hut@lavabit.com>2013-03-10 15:10:56 +0100
commitb53e2659a41b12eeb66b62ac74f3fc664760a539 (patch)
treeece36bfd1b8c6b2471abb7bc6367617d2f57bcbd
parent5a48cca9549eda475e754eb683db767f04dff231 (diff)
downloadranger-b53e2659a41b12eeb66b62ac74f3fc664760a539.tar.gz
container.directory: fix wrong check for None
-rw-r--r--ranger/container/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/directory.py b/ranger/container/directory.py
index 4d1d0315..d6af21ea 100644
--- a/ranger/container/directory.py
+++ b/ranger/container/directory.py
@@ -166,7 +166,7 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware):
             return []
 
     def refilter(self, signal=None):
-        if not self.files_all:
+        if self.files_all is None:
             return # propably not loaded yet
 
         self.last_update_time = time()