mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 13:01:32 +00:00
Implement recursive file lookup in FileManager.files
This commit is contained in:
parent
5cc1ab2c8d
commit
944066d699
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user