Add workind directory to SourceCodeEventHandler's default fileinfos

This commit is contained in:
Kristóf Tóth 2018-03-09 08:52:13 +01:00
parent c84b526b03
commit 20895cb989

View File

@ -97,6 +97,7 @@ class SourceCodeEventHandler(TriggerlessEventHandler):
def attach_fileinfo(self, data): def attach_fileinfo(self, data):
data['filename'] = self.filemanager.filename data['filename'] = self.filemanager.filename
data['files'] = self.filemanager.files data['files'] = self.filemanager.files
data['directory'] = self.filemanager.workdir
def handle_event(self, key, message): def handle_event(self, key, message):
try: try: