mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 21:21:32 +00:00
Use now fixed DirectoryMonitor.ignore property in webide
This commit is contained in:
parent
08693d3ba2
commit
b1f4842dc7
@ -102,7 +102,7 @@ class SourceCodeEventHandler(TriggerlessEventHandler):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
def write(self, data):
|
def write(self, data):
|
||||||
self.monitor.eventhandler.ignore = 1
|
self.monitor.ignore = self.monitor.ignore + 1
|
||||||
try: self.filemanager.file_contents = data['content']
|
try: self.filemanager.file_contents = data['content']
|
||||||
except Exception: log.exception('Error writing file!')
|
except Exception: log.exception('Error writing file!')
|
||||||
del data['content']
|
del data['content']
|
||||||
|
Loading…
Reference in New Issue
Block a user