Skip to content

Commit

Permalink
Removed bug that could cause infinite loop in session refresh. (Leagu…
Browse files Browse the repository at this point in the history
  • Loading branch information
LeagueOfPoro authored Feb 8, 2023
1 parent c5350b8 commit 044a5b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def refreshSession(self):
resAccessToken = self.client.get(
"https://account.rewards.lolesports.com/v1/session/refresh", headers=headers)
if resAccessToken.status_code == 200:
self.maintainSession()
self.__dumpCookies()
else:
self.log.error("Failed to refresh session")
Expand Down

0 comments on commit 044a5b0

Please sign in to comment.