diff --git a/tasks.py b/tasks.py index 8d62f10..161a4a7 100644 --- a/tasks.py +++ b/tasks.py @@ -48,3 +48,4 @@ class TaskPool: def load_state(self, index): with open("state.{}.json".format(self.coroutines[index]["name"])) as f: self.states[index] = json.load(f) + self.coroutines[index]["state"] = self.states[index]