💡 add some comment
Some checks failed
ci / docker (push) Failing after 18s

This commit is contained in:
Finn Christiansen 2023-11-08 23:10:56 +01:00
parent d9f0619c11
commit 270454e7e6

View file

@ -20,6 +20,7 @@ def addreminder():
hours = form.hours.data hours = form.hours.data
minutes = form.minutes.data minutes = form.minutes.data
try: try:
# try to read ics file
calendar = Calendar.from_ical(file.read()) calendar = Calendar.from_ical(file.read())
except ValueError: except ValueError:
error = 'can\'t read file' error = 'can\'t read file'