diff --git a/app/index.py b/app/index.py index 2f0d040..9850194 100644 --- a/app/index.py +++ b/app/index.py @@ -31,6 +31,7 @@ def addreminder(): if k == 'BEGIN' and v == 'VALARM': valarm_found = True + # add alarm if not already set if not valarm_found: alarm = Alarm() alarm.add('ACTION', 'DISPLAY')