mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 16:21:31 +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