From 3e5e53a929c482192992ac2a397857258a74d0b4 Mon Sep 17 00:00:00 2001 From: Marc Koch Date: Fri, 25 Apr 2025 17:56:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20show=20short=20event=5Fid=20in?= =?UTF-8?q?=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/booking.py | 5 ++--- version.txt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/booking.py b/src/booking.py index 6c07355..6902279 100644 --- a/src/booking.py +++ b/src/booking.py @@ -152,14 +152,13 @@ class Event(models.Model): Create ics string :return: """ - uuid = self.uuid.__str__() c = ICS_Calendar() e = ICS_Event() - e.uid = uuid + e.uid = self.uuid.__str__() e.name = self.name e.begin = self.start e.end = self.end - e.description = f"Meeting-ID: {uuid}" + e.description = f"Meeting-ID: {self.id}" c.events.add(e) return c.serialize() diff --git a/version.txt b/version.txt index e4c0d46..a6a3a43 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.3 \ No newline at end of file +1.0.4 \ No newline at end of file