Indicate edited submissions/comments.

This commit is contained in:
woorst
2018-09-27 22:03:52 -04:00
parent 1ddd392d92
commit f68a9a8ef5
3 changed files with 9 additions and 3 deletions

View File

@@ -353,7 +353,8 @@ class SubredditPage(Page):
self.term.add_space(win)
attr = self.term.attr('Created')
self.term.add_line(win, '{created}'.format(**data), attr=attr)
self.term.add_line(win, '{created}{edited}'.format(**data),
attr=attr)
if data['comments'] is not None:
attr = self.term.attr('Separator')