diff --git a/khal/ui/widgets.py b/khal/ui/widgets.py index 7f6ca6e47..e5edb7e3d 100644 --- a/khal/ui/widgets.py +++ b/khal/ui/widgets.py @@ -562,7 +562,7 @@ def clear(self) -> None: """clear the alarm list""" self.pile.contents.clear() - def add_alarm(self, button, timedelta: Optional[dt.timedelta]): + def add_alarm(self, button, timedelta: Optional[dt.timedelta] = None): if timedelta is None: timedelta = dt.timedelta(0) self.pile.contents.insert(