mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2025-09-11 14:12:32 +02:00
Disallow invalid priorities during interactive prompt
This commit is contained in:
@@ -162,8 +162,7 @@ def task_prompt(**task_data):
|
|||||||
'Set priority',
|
'Set priority',
|
||||||
default='',
|
default='',
|
||||||
show_default=False,
|
show_default=False,
|
||||||
type=click.Choice([None, 'L', 'M', 'H']),
|
type=click.Choice(['L', 'M', 'H', '']),
|
||||||
value_proc=lambda x: None if '' else x,
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user