Commit a3ee525c by Stanley Yeo

fixed issue #271

parent 6088946b
......@@ -92,7 +92,7 @@ class BaseFinderStorage(PipelineStorage):
return exists
def listdir(self, path):
for finder in finders.get_finders():
for finder in self.finders.get_finders():
for storage in finder.storages.values():
try:
return storage.listdir(path)
......@@ -116,7 +116,7 @@ class BaseFinderStorage(PipelineStorage):
return None
def find_storage(self, name):
for finder in finders.get_finders():
for finder in self.finders.get_finders():
for path, storage in finder.list([]):
prefix = getattr(storage, 'prefix', None)
matched_path = self.match_location(name, path, prefix)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment