mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-23 07:01:57 +00:00
Delete key instead of setting it to empty string value
This commit is contained in:
parent
3e06f5c196
commit
207f984db1
@ -71,7 +71,7 @@ class SourceCodeEventHandler(TriggerlessEventHandler):
|
||||
with self.monitor.pauser:
|
||||
try: self.filemanager.file_contents = data['content']
|
||||
except Exception: log.exception('Error writing file!')
|
||||
data['content'] = ''
|
||||
del data['content']
|
||||
return data
|
||||
|
||||
def select(self, data):
|
||||
|
Loading…
Reference in New Issue
Block a user