This commit is contained in:
2026-06-19 14:28:20 +02:00
parent c9e592d58f
commit 1bc7950520
43 changed files with 802 additions and 21038 deletions
+3 -1
View File
@@ -144,7 +144,9 @@ def main():
f'{body}</body></html>')
msg.set_content(html, subtype="html", charset="utf-8", cte="base64")
os.makedirs(OUT_DIR, exist_ok=True)
fn = f"pripominka_sipiq_{ascii_slug(d['prijmeni'])}_18JUN2026.eml"
_t = date.today()
_dd = _t.strftime("%d") + ["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"][_t.month-1] + _t.strftime("%Y")
fn = f"pripominka_sipiq_{ascii_slug(d['prijmeni'])}_{_dd}.eml"
with open(os.path.join(OUT_DIR, fn), "wb") as fh:
fh.write(bytes(msg))
done.append(fn)