From 98629b3687c17247a28075ef0f53331de1bbf3a1 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Fri, 7 Jul 2017 21:07:51 +0200
Subject: [PATCH] Update todo-who and what on old todos

---
 tasks.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks.py b/tasks.py
index 9e214be..951b821 100644
--- a/tasks.py
+++ b/tasks.py
@@ -303,6 +303,8 @@ def parse_protocol_async_inner(protocol, encoded_kwargs):
         todo.protocols.append(protocol)
         todo.state = field_state
         todo.date = field_date
+        todo.who = who
+        todo.description = what
         db.session.commit()
         todo_tag.todo = todo
     # Decisions
-- 
GitLab