core (config): fixed a bad option check
This commit is contained in:
parent
59d3994859
commit
f14cce8a10
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def fixConfigOption(section, option, value, silent=True):
|
|||
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})
|
||||
|
|
|
|||
Loading…
Reference in a new issue