1
0
Fork 0
mirror of synced 2024-06-20 19:20:20 +12:00

Merge pull request #480 from Serene-Arc/bug_fix_460

This commit is contained in:
Serene 2021-07-03 13:55:41 +10:00 committed by GitHub
commit c36c4c0ce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ class RedditConnector(metaclass=ABCMeta):
logger.debug('Using authenticated Reddit instance')
if not self.cfg_parser.has_option('DEFAULT', 'user_token'):
logger.log(9, 'Commencing OAuth2 authentication')
scopes = self.cfg_parser.get('DEFAULT', 'scopes')
scopes = self.cfg_parser.get('DEFAULT', 'scopes', fallback='identity, history, read, save')
scopes = OAuth2Authenticator.split_scopes(scopes)
oauth2_authenticator = OAuth2Authenticator(
scopes,