From fce4001152fd5b89ea28026f705827f17e118a7b Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 21 Aug 2024 14:48:56 -0400 Subject: [PATCH] fix(aurora): hopefully fixed changes not being imported --- 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 011cafb..caff53c 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -60,7 +60,7 @@ class ImportAuroraView(ui.View): case["target_id"] = int(case["target_id"]) case["moderator_id"] = int(case["moderator_id"]) - if "changes" not in case or not case["changes"]: + if not case.get("changes", None): changes = [] else: if not isinstance(case["changes"], list):