From 280ad8979d4d0322493a3443685187fb01790e57 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Sun, 8 Jan 2023 17:41:41 +0100 Subject: Started working on a kal vs calendar-cli project split, as suggested by @fauxmight . Updates https://github.com/tobixen/calendar-cli/issues/88 --- calendar_cli/cal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calendar_cli') 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 -- cgit v1.2.3