-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
daef2eb
commit 2a72552
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,7 @@ | |
from selenium.webdriver.support import expected_conditions as EC | ||
from selenium.webdriver.common.keys import Keys | ||
import time | ||
from gmail_fetch_otp import fetch_gmail_code | ||
|
||
EMAIL = '[email protected]' | ||
from fetch_otp import EMAIL, fetch_code | ||
|
||
# Add chrome.exe to environment variable | ||
# Download chrome driver and add to environment variable | ||
|
@@ -46,7 +44,7 @@ def main(): | |
time.sleep(10) | ||
|
||
print("Get OTP from Gmail...") | ||
code = fetch_gmail_code() | ||
code = fetch_code() | ||
if code: | ||
print(f"Successfully fetched OTP: {code}") | ||
else: | ||
|