diff options
Diffstat (limited to 'poezio/config.py')
-rw-r--r-- | poezio/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/config.py b/poezio/config.py index 89b75d94..c87f881a 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -447,7 +447,7 @@ class Config(RawConfigParser): RawConfigParser.set(self, section, option, value) if not self.write_in_file(section, option, value): return ('Unable to write in the config file', 'Error') - if 'password' in option and 'eval_password' not in option: + if isinstance(option, str) and 'password' in option and 'eval_password' not in option: value = '********' return ("%s=%s" % (option, value), 'Info') |