Fix file list disappearing from json after write command – webide.

This commit is contained in:
Kristóf Tóth 2018-02-08 14:54:00 +01:00
parent c2c5353f98
commit 6283b825d6

View File

@ -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):