diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 8270676..ac26f83 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -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' })