From: Frank Brehm Date: Tue, 7 Feb 2023 14:57:06 +0000 (+0100) Subject: Fixing class MailConfiguration in module pp_admintools.config.mail X-Git-Tag: 0.8.7^2~2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=51aeb80d6fd5e441a04d2431dd2ad380e4d4a584;p=pixelpark%2Fpp-admin-tools.git Fixing class MailConfiguration in module pp_admintools.config.mail --- 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):