Skip to content

Commit c6af1d7

Browse files
committed
fix: added back stricter check
adding the [] check to pass tests/test_cli.py::test_edit_move
1 parent 118df55 commit c6af1d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

todoman/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def edit(ctx, id, todo_properties, interactive, raw):
421421

422422
changes = False
423423
for key, value in todo_properties.items():
424-
if value:
424+
if value is not None and value != []:
425425
changes = True
426426
setattr(todo, key, value)
427427

0 commit comments

Comments
 (0)