aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/report_ops/utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/report_ops/utils.py b/python/report_ops/utils.py
index 01d8fa6d..ff14a294 100644
--- a/python/report_ops/utils.py
+++ b/python/report_ops/utils.py
@@ -1,10 +1,10 @@
import datetime
-from exchangelib import HTMLBody
-from tabulate import tabulate
import math
import logging
from dataclasses import dataclass
from typing import ClassVar
+from exchangelib import HTMLBody
+from tabulate import tabulate
from serenitas.utils.exchange import ExchangeMessage, FileAttachment
from serenitas.analytics.dates import next_business_day
@@ -379,6 +379,7 @@ class CitcoMonitor(
"identifier_type",
"citco_id",
"serenitas_id",
+ "id",
),
num_format=[],
):
@@ -403,7 +404,7 @@ class CitcoMonitor(
</html>"""
),
to_recipients=(_recipients["NY_CREW"]),
- attach=[FileAttachment(name=filename + ".csv", content=buf)],
+ attach=[FileAttachment(name=filename, content=buf)],
)