diff -r 197414ba11cc -r b3eefd7e58d1 eric6/E5XML/TasksWriter.py --- a/eric6/E5XML/TasksWriter.py Sat May 01 14:27:38 2021 +0200 +++ b/eric6/E5XML/TasksWriter.py Thu Jun 03 11:39:23 2021 +0200 @@ -74,10 +74,9 @@ ) for task in tasks: self.writeStartElement("Task") - self.writeAttribute("priority", str(task.priority)) + self.writeAttribute("priority", str(task.priority.value)) self.writeAttribute("completed", str(task.completed)) - # TODO: task type enum change; str(task.taskType.value) - self.writeAttribute("type", str(task.taskType)) + self.writeAttribute("type", str(task.taskType.value)) self.writeAttribute("uid", task.uid) if task.parentUid: self.writeAttribute("parent_uid", task.parentUid)