Finished template for manpage, added --version flag.

This commit is contained in:
Michael Lazar
2015-09-27 18:19:00 -07:00
parent dfc5ddef1a
commit ba71453b7c
6 changed files with 132 additions and 185 deletions

View File

@@ -61,7 +61,7 @@ def main():
try:
print('Connecting...')
reddit = praw.Reddit(user_agent=AGENT)
reddit = praw.Reddit(user_agent=AGENT.format(__version__))
reddit.config.decode_html_entities = False
with curses_session() as stdscr:
oauth = OAuthTool(reddit, stdscr, LoadScreen(stdscr))