diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2023-01-08 17:41:41 +0100 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2023-01-08 17:45:01 +0100 |
commit | 280ad8979d4d0322493a3443685187fb01790e57 (patch) | |
tree | c27df22224414bf94d3c9f63ca91a18ba27cdace /calendar_cli/cal.py | |
parent | cc6cf29765e32d42413e21a28d9326bf1e849467 (diff) | |
download | calendar-cli-280ad8979d4d0322493a3443685187fb01790e57.zip |
Started working on a kal vs calendar-cli project split, as suggested by @fauxmight . Updates https://github.com/tobixen/calendar-cli/issues/88
Diffstat (limited to 'calendar_cli/cal.py')
-rwxr-xr-x | calendar_cli/cal.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar_cli/cal.py b/calendar_cli/cal.py index 466c4eb..e3ee0ee 100755 --- a/calendar_cli/cal.py +++ b/calendar_cli/cal.py @@ -887,7 +887,7 @@ def check_due(ctx, limit, lookahead): if input == 'ignore': continue elif input == 'split': - interactive_split_task(obj, ctx) + interactive_split_task(ctx, obj) elif input.startswith('postpone'): obj.set_due(parse_add_dur(due, input.split(' ')[1]), move_dtstart=True) elif input == 'complete': @@ -1010,7 +1010,6 @@ def interactive_split_task(ctx, obj): default = f"Plan how to do {summary}" while True: summary = click.prompt("Name for the subtask", default=default) - import pdb; pdb.set_trace() default="" if not summary: break |