diff options
-rw-r--r-- | app.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -67,8 +67,7 @@ class Event(Base): fmt = "%Y%m%dT%H%M%SZ" start = self.time.strftime(fmt) now = datetime.datetime.now().strftime(fmt) - return f''' -BEGIN:VCALENDAR + return f'''BEGIN:VCALENDAR VERSION:2.0 PRODID:custom BEGIN:VEVENT @@ -79,8 +78,7 @@ DTSTAMP:{now} SUMMARY:{self.title} UID:{self.iden} END:VEVENT -END:VCALENDAR - ''' +END:VCALENDAR''' @asynccontextmanager async def db_connection(app: Litestar) -> AsyncGenerator[None, None]: |