From 77efa6b5c193fac6ed920cd1c21254cfa141874f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 05:36:17 -0500 Subject: [PATCH] fix(aurora): fixed keyerror in aurora importer --- aurora/importers/aurora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' })