From 51aeb80d6fd5e441a04d2431dd2ad380e4d4a584 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 7 Feb 2023 15:57:06 +0100 Subject: [PATCH] Fixing class MailConfiguration in module pp_admintools.config.mail --- lib/pp_admintools/config/mail.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/pp_admintools/config/mail.py b/lib/pp_admintools/config/mail.py index 1e28f4d..b44161a 100644 --- a/lib/pp_admintools/config/mail.py +++ b/lib/pp_admintools/config/mail.py @@ -32,7 +32,7 @@ from . import PpConfigurationError, PpBaseConfiguration from ..xlate import XLATOR -__version__ = '0.2.2' +__version__ = '0.2.3' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -211,11 +211,11 @@ class MailConfiguration(PpBaseConfiguration): for v in val: result = self._split_mailaddress_tokens(v, _("recipient mail address")) if result: - self.mail_recipients.expand(result) + self.mail_recipients += result else: result = self._split_mailaddress_tokens(val, _("recipient mail address")) if result: - self.mail_recipients.expand(result) + self.mail_recipients.expand += result # ------------------------------------------------------------------------- def _eval_mail_cc(self, section_name, section): @@ -235,11 +235,11 @@ class MailConfiguration(PpBaseConfiguration): for v in val: result = self._split_mailaddress_tokens(v, _("cc mail address")) if result: - self.mail_cc.expand(result) + self.mail_cc.expand += result else: result = self._split_mailaddress_tokens(val, _("cc mail address")) if result: - self.mail_cc.expand(result) + self.mail_cc.expand += result # ------------------------------------------------------------------------- def _eval_mail_reply_to(self, section_name, section): -- 2.39.5