From 20895cb9895200f44559d3e635e582b5671cd484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 9 Mar 2018 08:52:13 +0100 Subject: [PATCH] Add workind directory to SourceCodeEventHandler's default fileinfos --- lib/tfw/components/source_code_event_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tfw/components/source_code_event_handler.py b/lib/tfw/components/source_code_event_handler.py index 99c0c7e..b4f474f 100644 --- a/lib/tfw/components/source_code_event_handler.py +++ b/lib/tfw/components/source_code_event_handler.py @@ -97,6 +97,7 @@ class SourceCodeEventHandler(TriggerlessEventHandler): def attach_fileinfo(self, data): data['filename'] = self.filemanager.filename data['files'] = self.filemanager.files + data['directory'] = self.filemanager.workdir def handle_event(self, key, message): try: