bugfix: password unset after saving it to keyring

This commit is contained in:
Christian Geier 2014-03-27 12:29:48 +01:00
parent f39601c69e
commit 542ce1216d

View file

@ -111,7 +111,7 @@ def get_password(username, resource):
prompt = 'Save this password in the keyring? [y/N] '
answer = raw_input(prompt)
if answer.lower() == 'y':
password = keyring.set_password(
keyring.set_password(
'vdirsyncer:' + hostname, username, password)
return password