Skip to content

Commit 31a1bd8

Browse files
author
yasht01
committed
Fix failing checks
1 parent 09bff8d commit 31a1bd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/arguments/utility.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
# Required for OAuth
1111
import json
12-
import webbrowser
1312
from oauthlib.oauth2 import MobileApplicationClient
1413
from requests_oauthlib import OAuth2Session
1514

@@ -144,7 +143,7 @@ def setCustomKey(self):
144143

145144
# Close the windows as soon as authorization is done
146145
try:
147-
element = WebDriverWait(driver, 1).until(
146+
WebDriverWait(driver, 1).until(
148147
EC.presence_of_element_located((By.TAG_NAME, "h2"))
149148
)
150149
callback_url = driver.current_url

0 commit comments

Comments
 (0)