mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 18:41:32 +00:00
Fix file list disappearing from json after write command – webide.
This commit is contained in:
parent
c2c5353f98
commit
6283b825d6
@ -75,6 +75,7 @@ class SourceCodeEventHandler(EventHandlerBase, SupervisorMixin):
|
||||
|
||||
def write(self, data_json):
|
||||
self.filemanager.file_contents = data_json['data']['content']
|
||||
data_json['data']['files'] = self.filemanager.files
|
||||
self.restart_process()
|
||||
|
||||
def select(self, data_json):
|
||||
|
Loading…
Reference in New Issue
Block a user