Fixed suggested changes for pull request, changed colour of flairs to

yellow for more visibility on submission page
This commit is contained in:
Shawn Hind
2015-03-12 17:42:26 -04:00
parent a4d531b4e7
commit 34dfa53b9f
3 changed files with 9 additions and 14 deletions

View File

@@ -135,8 +135,7 @@ class SubredditPage(BasePage):
if row in valid_rows:
text = '{author}'.format(**data)
win.addnstr(row, 1, text, n_cols-1, curses.A_BOLD)
if data['flair'] != None:
text = ' {flair}'.format(**data)
win.addnstr(text, n_cols - 1, curses.A_BOLD | Color.GREEN)
text = ' {flair}'.format(**data)
win.addnstr(text, n_cols - 1, curses.A_BOLD | Color.GREEN)
text = ' {subreddit}'.format(**data)
win.addnstr(text, n_cols - win.getyx()[1], Color.YELLOW)