From 1a34555530953ed16a12f9637be22f5abb0fbfc8 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 6 Jan 2025 19:44:06 +0100 Subject: [PATCH] bundles/rspamd: use metadata.get() --- bundles/rspamd/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/rspamd/items.py b/bundles/rspamd/items.py index 0491d17..2f9aacb 100644 --- a/bundles/rspamd/items.py +++ b/bundles/rspamd/items.py @@ -96,7 +96,7 @@ if 'dkim' in node.metadata.get('rspamd', {}): }, } - dkim_key = repo.libs.faults.ensure_fault_or_none(node.metadata['rspamd']['dkim']) + dkim_key = repo.libs.faults.ensure_fault_or_none(node.metadata.get('rspamd/dkim')) actions = { 'rspamd_assure_dkim_key_permissions': {