From 944066d6992bad2a879425ae18f888a239d34eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 7 Feb 2018 09:51:45 +0100 Subject: [PATCH] Implement recursive file lookup in FileManager.files --- src/event_handlers/source_code_event_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event_handlers/source_code_event_handler.py b/src/event_handlers/source_code_event_handler.py index f5b2445..345ee20 100644 --- a/src/event_handlers/source_code_event_handler.py +++ b/src/event_handlers/source_code_event_handler.py @@ -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):