Skip to content

Commit 3dc6abe

Browse files
committed
Merge branch 'master' of github.com:longaccess/bigstash-python
2 parents c691f5c + 3302522 commit 3dc6abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BigStash/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def get_api_credentials(settings, username=None, password=None):
3232
log.debug("error reading config file", exc_info=True)
3333
print("No saved credentials found")
3434
auth = BigStashAuth(settings=settings)
35-
r = auth.GetAPIKey(
36-
username or input("Username: "), password or getpass("Password: "))
35+
r, _ = auth.GetAPIKey(username or input("Username: "),
36+
password or getpass("Password: "))
3737
if input("Save api key to settings? (y/N) ").lower() == "y":
3838
settings.write_config_file(authfile, r)
3939
k, s = (r['key'], r['secret'])

0 commit comments

Comments
 (0)