Implement recursive file lookup in FileManager.files

This commit is contained in:
Kristóf Tóth 2018-02-07 09:51:45 +01:00
parent 5cc1ab2c8d
commit 944066d699

View File

@ -26,7 +26,7 @@ class FileManager:
@property
def files(self):
return [file for file in glob(self._workdir) if isfile(file)]
return [file for file in glob(join(self._workdir, '**/*'), recursive=True) if isfile(file)]
@property
def file_contents(self):