Re-naming
This commit is contained in:
@@ -36,7 +36,7 @@ from . import packages
|
||||
from .packages import praw
|
||||
from .config import Config, copy_default_config, copy_default_mailcap
|
||||
from .theme import Theme
|
||||
from .oauth import OAuthHelper, OAuthRateLimitHandler
|
||||
from .oauth import OAuthHelper, OAuthRateLimiter
|
||||
from .terminal import Terminal
|
||||
from .objects import curses_session, patch_webbrowser
|
||||
from .subreddit_page import SubredditPage
|
||||
@@ -174,11 +174,10 @@ def main():
|
||||
term = Terminal(stdscr, config, theme)
|
||||
|
||||
with term.loader('Initializing', catch_exception=False):
|
||||
handler = OAuthRateLimitHandler()
|
||||
reddit = praw.Reddit(user_agent=user_agent,
|
||||
decode_html_entities=False,
|
||||
disable_update_check=True,
|
||||
handler=handler)
|
||||
handler=OAuthRateLimiter())
|
||||
|
||||
# Authorize on launch if the refresh token is present
|
||||
oauth = OAuthHelper(reddit, term, config)
|
||||
|
||||
Reference in New Issue
Block a user