mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
- Fix dryrun property
This commit is contained in:
parent
f32e50bc9d
commit
9b6ba72fa0
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ class Hook(BaseHook):
|
||||||
:type notification_item: HookNotificationItem
|
:type notification_item: HookNotificationItem
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
if self.dryrun:
|
if self.email_config.dryrun:
|
||||||
logger.warning("Hook 'email': DRY-RUN received notification_item: %r", vars(notification_item))
|
logger.warning("Hook 'email': DRY-RUN received notification_item: %r", vars(notification_item))
|
||||||
else:
|
else:
|
||||||
logger.debug("Received notification_item: %r", vars(notification_item))
|
logger.debug("Received notification_item: %r", vars(notification_item))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue