forked from cswimr/SeaCogs
fix(aurora): fixed keyerror in aurora importer
This commit is contained in:
parent
acc017d61c
commit
77efa6b5c1
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class ImportAuroraView(ui.View):
|
|||
metadata = {}
|
||||
else:
|
||||
metadata: Dict[str, any] = json.loads(case["metadata"])
|
||||
if not metadata['imported_from']:
|
||||
if not metadata.get('imported_from'):
|
||||
metadata.update({
|
||||
'imported_from': 'Aurora'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue