Commit 7021e5e0 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Delete the merged todos based on their state

parent 26a2d65c
......@@ -110,7 +110,7 @@ def merge_todos():
todo1, todo2 = todo, todo_by_id[todo_id]
if >
if todo2.state.value > todo1.state.value:
todo2, todo1 = todo1, todo2
for protocol in todo2.protocols:
if protocol not in todo1.protocols:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment