From cf9ec5d607855eb1a3b78c0fe44ad7a1ea257bb2 Mon Sep 17 00:00:00 2001 From: Samuel Mimram <smimram@gmail.com> Date: Wed, 21 May 2025 09:58:53 +0200 Subject: [PATCH] Cosmetic. --- _scripts/sem2ical.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/_scripts/sem2ical.py b/_scripts/sem2ical.py index b14fbd9..1e9e4fa 100755 --- a/_scripts/sem2ical.py +++ b/_scripts/sem2ical.py @@ -35,16 +35,13 @@ events = events.next() for data in events: - - #save data - + # Save data datestringnext = datestring roomnext = room speakernext = speaker titlenext = title abstractnext = abstract next_semnext = next_sem - # Compute fields team = data['team'] @@ -114,7 +111,7 @@ for data in events: f.close() # Generate possibly next talk mail - # Currently only for alco + # (currently only for alco) if (team.lower() == "alco"): if date - datetime.now(tz) > timedelta(): f = open("template-next.mail") @@ -131,8 +128,6 @@ for data in events: f.write(mail) f.close() - - # Generate tweet if date - datetime.now(tz) > timedelta(): f = open("template.tweet") -- GitLab