From 9b6ba72fa023e38c1f5e7ad1596d193f19bad86b Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Thu, 14 Aug 2025 00:10:16 -0600 Subject: [PATCH] - Fix dryrun property --- radicale/hook/email/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/hook/email/__init__.py b/radicale/hook/email/__init__.py index cbf1523b..62bf3195 100644 --- a/radicale/hook/email/__init__.py +++ b/radicale/hook/email/__init__.py @@ -946,7 +946,7 @@ class Hook(BaseHook): :type notification_item: HookNotificationItem :return: None """ - if self.dryrun: + if self.email_config.dryrun: logger.warning("Hook 'email': DRY-RUN received notification_item: %r", vars(notification_item)) else: logger.debug("Received notification_item: %r", vars(notification_item))