From 0e2e80529cae680362ab4326d4e92128559950d0 Mon Sep 17 00:00:00 2001 From: Marc Koch Date: Fri, 25 Apr 2025 16:38:19 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20provide=20event=5Fid=20in=20event?= =?UTF-8?q?=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/booking.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/booking.py b/src/booking.py index baceb49..e0a367a 100644 --- a/src/booking.py +++ b/src/booking.py @@ -147,12 +147,14 @@ class Event(models.Model): Create ics string :return: """ + uuid = self.uuid.__str__() c = ICS_Calendar() e = ICS_Event() - e.uid = self.uuid.__str__() + e.uid = uuid e.name = self.name e.begin = self.start e.end = self.end + e.description = f"Meeting-ID: {uuid}" c.events.add(e) return c.serialize()