E5XML/TasksWriter.py

changeset 2197
c4f24f8f34c0
parent 1819
cfcfd617216a
child 2302
f29e9405c851
diff -r b5ca7665e928 -r c4f24f8f34c0 E5XML/TasksWriter.py
--- a/E5XML/TasksWriter.py	Thu Nov 08 15:28:53 2012 +0100
+++ b/E5XML/TasksWriter.py	Thu Nov 08 16:19:41 2012 +0100
@@ -73,8 +73,8 @@
             self.writeAttribute("priority", str(task.priority))
             self.writeAttribute("completed", str(task.completed))
             self.writeAttribute("type", str(task.taskType))
-            self.writeTextElement("Summary", task.description.strip())
-            self.writeTextElement("Description", task.longtext.strip())
+            self.writeTextElement("Summary", task.summary.strip())
+            self.writeTextElement("Description", task.description.strip())
             self.writeTextElement("Created",
                 time.strftime("%Y-%m-%d, %H:%M:%S", time.localtime(task.created)))
             if task.filename:

eric ide

mercurial