Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #86 from LeagueOfPoro/bugfix-2fa
Browse files Browse the repository at this point in the history
Fix 2FA
  • Loading branch information
LeagueOfPoro committed Oct 11, 2022
2 parents 217c3a5 + 7f5b370 commit 177d0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EsportsCapsuleFarmer/Setup/LoginHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def automaticLogIn(self, username, password):
# check for 2FA
time.sleep(5)
if len(self.driver.find_elements(by=By.CSS_SELECTOR, value="div.text__web-code")) > 0:
self.insertTwoFactorCode(self.driver)
self.insertTwoFactorCode()

# wait until the login process finishes
wait.until(ec.presence_of_element_located((By.CSS_SELECTOR, "div.riotbar-summoner-name")))
Expand Down

0 comments on commit 177d0d5

Please sign in to comment.