Commit 39d199f3 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix the priority return.

parent 1bb16d5b
...@@ -113,7 +113,7 @@ class TodoBase(object): ...@@ -113,7 +113,7 @@ class TodoBase(object):
""" """
Returns the priority of this todo, or None if no priority is set. Returns the priority of this todo, or None if no priority is set.
""" """
return self.priority return self.fields['priority']
def text(self): def text(self):
""" Returns the todo text with tags stripped off. """ """ Returns the todo text with tags stripped off. """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment