eric6/E5XML/TasksWriter.py

changeset 8278
e647b71b393f
parent 8269
87f521f359d5
child 8280
17d03699f151
--- a/eric6/E5XML/TasksWriter.py	Sat May 01 18:48:35 2021 +0200
+++ b/eric6/E5XML/TasksWriter.py	Sat May 01 20:28:00 2021 +0200
@@ -76,8 +76,7 @@
             self.writeStartElement("Task")
             self.writeAttribute("priority", str(task.priority))
             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)

eric ide

mercurial