aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/bowdst.py2
-rw-r--r--python/exchange.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/bowdst.py b/python/bowdst.py
index 0af626e5..4e70ccd7 100644
--- a/python/bowdst.py
+++ b/python/bowdst.py
@@ -93,7 +93,7 @@ def send_email(
"",
to_recipients=("reconfiles@bnymellon.com", "hm-operations@bnymellon.com"),
cc_recipients=("bowdoin-ops@lmcg.com",),
- attachments=attachments,
+ attach=attachments,
)
diff --git a/python/exchange.py b/python/exchange.py
index efb36d40..0ace50ec 100644
--- a/python/exchange.py
+++ b/python/exchange.py
@@ -7,7 +7,7 @@ from exchangelib import (
FileAttachment,
)
from pathlib import Path
-from typing import Tuple
+from typing import Iterable
import json
@@ -45,7 +45,7 @@ class ExchangeMessage:
body,
to_recipients,
cc_recipients,
- attach: Tuple[FileAttachment] = (),
+ attach: Iterable[FileAttachment] = (),
):
m = Message(
account=self._account,