Mercurial > libervia-backend
changeset 1236:251ae99a6c0e
core (config): fixed a bad option check
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 16 Oct 2014 20:10:08 +0200 |
parents | 80d2ed788b40 |
children | c1e916594e09 |
files | src/tools/config.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tools/config.py Sat Oct 11 16:26:43 2014 +0200 +++ b/src/tools/config.py Thu Oct 16 20:10:08 2014 +0200 @@ -61,7 +61,7 @@ with open(target_file, 'wb') as configfile: config.write(configfile) # for the next time that user launches sat if not silent: - if option in ('passphrase'): # list here the options storing a password + if option in ('passphrase',): # list here the options storing a password value = '******' log.warning(_("Config auto-update: %(option)s set to %(value)s in the file %(config_file)s") % {'option': option, 'value': value, 'config_file': target_file})