Compare commits

...

2 Commits

Author SHA1 Message Date
blallo fa0023d2d1
Bump to v0.3.3 2022-09-27 23:16:11 +02:00
blallo 4d1596c4a2
Make cc REALLY work 2022-09-27 23:15:50 +02:00
2 changed files with 9 additions and 3 deletions

View File

@ -84,7 +84,10 @@ class Notifier(object):
email = message.as_string()
self.send(to, email)
rcpt = to
rcpt.extend(cc)
self.send(rcpt, email)
@retry_and_log(logger, RETRIES)
def send_no_data(self, to: T.List[T.Text], cc: T.List[T.Text]) -> None:
@ -107,4 +110,7 @@ il vostro tecnico preferito.
message.attach(MIMEText(body, "plain"))
email = message.as_string()
self.send(to, email)
rcpt = to
rcpt.extend(cc)
self.send(rcpt, email)

View File

@ -1,6 +1,6 @@
[project]
name = "latecomers"
version = "0.3.2"
version = "0.3.3"
description = "Retrieve and save data from ADR Ciampino airport"
authors = [{name="Leonardo Barcaroli", email="blallo@autistici.org"}]
license = {text="Public Domain"}