mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 00:11:33 +00:00
Add workind directory to SourceCodeEventHandler's default fileinfos
This commit is contained in:
parent
c84b526b03
commit
20895cb989
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user