Skip to content

Commit 2a72552

Browse files
committed
chore: fix fetch_code py module
1 parent daef2eb commit 2a72552

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sample/Tests/src/device_code_login_windows.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
from selenium.webdriver.support import expected_conditions as EC
77
from selenium.webdriver.common.keys import Keys
88
import time
9-
from gmail_fetch_otp import fetch_gmail_code
10-
11-
9+
from fetch_otp import EMAIL, fetch_code
1210

1311
# Add chrome.exe to environment variable
1412
# Download chrome driver and add to environment variable
@@ -46,7 +44,7 @@ def main():
4644
time.sleep(10)
4745

4846
print("Get OTP from Gmail...")
49-
code = fetch_gmail_code()
47+
code = fetch_code()
5048
if code:
5149
print(f"Successfully fetched OTP: {code}")
5250
else:

0 commit comments

Comments
 (0)