diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2020-04-14 14:40:06 +0200 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2020-04-14 14:40:06 +0200 |
commit | dbb8a51ee3591b2898d68ce2a68ccc8241c44f57 (patch) | |
tree | 44d2189fe75cf1e730ff447308cf3a7e2debceb4 | |
parent | 1621aca6f83144db22823eb6b2e2943c49c5a6ed (diff) | |
download | calendar-cli-dbb8a51ee3591b2898d68ce2a68ccc8241c44f57.zip |
allows todo items to be created without due date or dtstart. partially fix for https://github.com/tobixen/calendar-cli/issues/63
-rwxr-xr-x | calendar-cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |