Skip to content

Commit

Permalink
Fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Watchful1 committed Sep 23, 2024
1 parent b8ee8e6 commit bf79ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion praw/models/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def authorize(self, code: str) -> str | None:
authorizer = Authorizer(authenticator)
authorizer.authorize(code)
authorized_session = session(
authorizer=authorizer, window_size=self.config.window_size
authorizer=authorizer, window_size=self._reddit.config.window_size
)
self._reddit._core = self._reddit._authorized_core = authorized_session
return authorizer.refresh_token
Expand Down

0 comments on commit bf79ea2

Please sign in to comment.