From dbb8a51ee3591b2898d68ce2a68ccc8241c44f57 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Tue, 14 Apr 2020 14:40:06 +0200 Subject: allows todo items to be created without due date or dtstart. partially fix for https://github.com/tobixen/calendar-cli/issues/63 --- calendar-cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar-cli.py b/calendar-cli.py index cb46912..2c2452f 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -428,7 +428,7 @@ def todo_add(caldav_conn, args): val = dateutil.parser.parse(getattr(args, 'set_'+setarg)) else: val = getattr(args, 'set_'+setarg) - todo.add(setarg, val) + todo.add(setarg, val) todo.add('uid', str(uid)) todo.add('summary', ' '.join(args.summaryline)) todo.add('status', 'NEEDS-ACTION') -- cgit v1.2.3