Comment 1 for bug 385883

Al Riddoch (alriddoch) wrote :

Having looked deeper into the code, it seems the problem is not with convering the tasks list, but with the keyword argument "to" which is being passed to the Entity constructor in error, rather than the Operation constructor as it should be.

set = Operation("set", Entity(self.character.id, tasks = [{"name": "twist", "param": "value"}]), to = self.character)