X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=plomtask%2Fhttp.py;h=98bb49f2d18c4789521c488195d9471375d77963;hb=32c0e270d3c521329c0b7a988b25585e6a275ff5;hp=2ecfcaa3734325951bad368d91e7aaeaafb836fe;hpb=91a2a8f0fe640dac8c76515bf3fd04b0c2f49a66;p=plomtask diff --git a/plomtask/http.py b/plomtask/http.py index 2ecfcaa..98bb49f 100644 --- a/plomtask/http.py +++ b/plomtask/http.py @@ -248,7 +248,7 @@ class TaskHandler(BaseHTTPRequestHandler): todo.set_enables(self.conn, self.form_data.get_all_int('enables')) todo.set_disables(self.conn, self.form_data.get_all_int('disables')) todo.is_done = len(self.form_data.get_all_str('done')) > 0 - todo.comment = self.form_data.get_str('comment') + todo.comment = self.form_data.get_str('comment', ignore_strict=True) todo.save(self.conn) for condition in todo.enables: condition.save(self.conn)