X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/git-favicon.png?a=blobdiff_plain;f=plomtask%2Fhttp.py;h=5d165ecf90f1ca6ebaed77e55b73a5d55ff428b8;hb=12195a1fe2c15334c866036eaa171eb8e92f0408;hp=e65164ac0e24fa196435830bed014b1f0d654cc1;hpb=d77d0661697655a7c2d0e9e0b270cf21e286d7fb;p=plomtask diff --git a/plomtask/http.py b/plomtask/http.py index e65164a..5d165ec 100644 --- 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,