From 270454e7e635f7c2a9100f179fb2408f51c89f89 Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Wed, 8 Nov 2023 23:10:56 +0100 Subject: [PATCH] :bulb: add some comment --- app/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/index.py b/app/index.py index c914798..c4cb6de 100644 --- a/app/index.py +++ b/app/index.py @@ -20,6 +20,7 @@ def addreminder(): hours = form.hours.data minutes = form.minutes.data try: + # try to read ics file calendar = Calendar.from_ical(file.read()) except ValueError: error = 'can\'t read file'