Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Improve logic of the -R and -K flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Oct 3, 2020
1 parent 45cade8 commit 04ced8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lostit/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def name_and_password(self):
# Results will be a tuple of user, password, cancelled
self._user = results_tuple[0]
self._pswd = results_tuple[1]
save_keyring_credentials(_KEYRING, self._user, '')
if self._use_keyring:
save_keyring_credentials(_KEYRING, self._user, '')
return results_tuple[0], results_tuple[1], results_tuple[2]


Expand Down

0 comments on commit 04ced8f

Please sign in to comment.