X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=plomtask%2Fhttp.py;h=196540a9ace22bee3fa9b2b6ebe2220a6a36e7d4;hb=fb317a554ed912736498a5b3917b40bb9bfd7489;hp=316fd0805588a00b59dc28fbd8094fc8634dcd87;hpb=f19823e9e77ae0017022dbfe63f66d2b065ba33a;p=plomtask diff --git a/plomtask/http.py b/plomtask/http.py index 316fd08..196540a 100644 --- a/plomtask/http.py +++ b/plomtask/http.py @@ -287,6 +287,7 @@ class TaskHandler(BaseHTTPRequestHandler): condition.remove(self.conn) return '/conditions' condition = Condition.by_id(self.conn, id_, create=True) + condition.is_active = self.form_data.get_all_str('is_active') != [] condition.title.set(self.form_data.get_str('title')) condition.description.set(self.form_data.get_str('description')) condition.save(self.conn)