mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
don't raise an error if addr changes
This commit is contained in:
@@ -169,8 +169,6 @@ class Account(object):
|
||||
"""
|
||||
self._check_config_key(name)
|
||||
namebytes = name.encode("utf8")
|
||||
if namebytes == b"addr" and self.is_configured():
|
||||
raise ValueError("can not change 'addr' after account is configured.")
|
||||
if isinstance(value, (int, bool)):
|
||||
value = str(int(value))
|
||||
if value is not None:
|
||||
|
||||
Reference in New Issue
Block a user