mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
bugfix: password might have been undefined
This commit is contained in:
parent
2a2e4dd04d
commit
9a0d70bcce
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ def get_password(username, resource):
|
|||
try:
|
||||
import keyring
|
||||
except ImportError:
|
||||
keyring = None
|
||||
keyring, password = None, None
|
||||
else:
|
||||
password = keyring.get_password(
|
||||
'vdirsyncer:' + hostname, username)
|
||||
|
|
|
|||
Loading…
Reference in a new issue