Add autologin config option and cli parameter
This commit is contained in:
@@ -205,7 +205,7 @@ def main():
|
||||
|
||||
# Authorize on launch if the refresh token is present
|
||||
oauth = OAuthHelper(reddit, term, config)
|
||||
if config.refresh_token:
|
||||
if config['autologin'] and config.refresh_token:
|
||||
oauth.authorize()
|
||||
|
||||
page = None
|
||||
|
||||
Reference in New Issue
Block a user