We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f9bf2 commit d0ca7f4Copy full SHA for d0ca7f4
todoman/cli.py
@@ -36,9 +36,8 @@ def wrapper(*a, **kw):
36
with_id_arg = click.argument('id', type=click.IntRange(min=TODO_ID_MIN))
37
38
39
-def _validate_lists_param(ctx, param=None, lists=None):
40
- if lists:
41
- return [_validate_list_param(ctx, name=l) for l in lists]
+def _validate_lists_param(ctx, param=None, lists=[]):
+ return [_validate_list_param(ctx, name=l) for l in lists]
42
43
44
def _validate_list_param(ctx, param=None, name=None):
0 commit comments