From 37bf80409aa6ca16ea6c38791be52975faf1dbbc Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Thu, 12 Mar 2015 20:09:57 -0700 Subject: [PATCH] Tweaked link flair formatting. --- rtv/subreddit.py | 4 ++-- setup.py | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/rtv/subreddit.py b/rtv/subreddit.py index 54ebbf1..621d972 100644 --- a/rtv/subreddit.py +++ b/rtv/subreddit.py @@ -148,7 +148,7 @@ class SubredditPage(BasePage): if row in valid_rows: text = '{author}'.format(**data) win.addnstr(row, 1, text, n_cols-1, curses.A_BOLD) - 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) + text = ' {flair}'.format(**data) + win.addnstr(text, n_cols - win.getyx()[1], Color.RED) diff --git a/setup.py b/setup.py index 4374ef1..d31b06a 100644 --- a/setup.py +++ b/setup.py @@ -22,10 +22,7 @@ setup( 'Operating System :: POSIX', 'Natural Language :: English', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.1', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3', 'Topic :: Terminals', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',