Skip to content

Commit 7dc75a9

Browse files
author
ajosh0504
committed
Tested
1 parent 2b9df2d commit 7dc75a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ def set_env(providers: List[str], passkey: str) -> None:
105105
result = response.json().get("token")
106106
for key in result:
107107
os.environ[key] = result[key]
108-
print(f"Set {key} environment variable.")
108+
print(f"Successfully set {key} environment variable.")
109109
elif status_code == 401:
110-
print(f"{response.json()['error']}. Follow steps in the lab documentation to obtain your own credentials and set them as environment variables.")
110+
print(f"{response.json()['error']} Follow steps in the lab documentation to obtain your own credentials and set them as environment variables.")
111+
break
111112
else:
112113
print(f"{response.json()['error']}")
113114

0 commit comments

Comments
 (0)