Commit c5cae105 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Print the filtered/sorted data, not the original data.

parent aa7dfc27
......@@ -28,7 +28,7 @@ class View(object):
def pretty_print(self):
""" Pretty prints the view. """
return '\n'.join(pretty_print(self._todos, True, True))
return '\n'.join(pretty_print(self._viewdata, True, True))
def __str__(self):
return '\n'.join(pretty_print(self._todos))
return '\n'.join(pretty_print(self._viewdata))
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