home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable toggling of Todo.is_done.
[plomtask]
/
plomtask
/
http.py
diff --git
a/plomtask/http.py
b/plomtask/http.py
index e65164ac0e24fa196435830bed014b1f0d654cc1..5d165ecf90f1ca6ebaed77e55b73a5d55ff428b8 100644
(file)
--- a/
plomtask/http.py
+++ b/
plomtask/http.py
@@
-209,6
+209,7
@@
class TaskHandler(BaseHTTPRequestHandler):
if child_id is not None:
child = Todo.by_id(conn, child_id)
todo.add_child(child)
+ todo.is_done = len(form_data.get_all_str('done')) > 0
todo.save(conn)
def do_POST_process(self, conn: DatabaseConnection, params: ParamsParser,