deprecated check whether account can be reconfigured

This commit is contained in:
missytake
2022-08-02 13:05:41 +02:00
parent 82d36e604c
commit 9707f13a42

View File

@@ -708,8 +708,9 @@ class Account(object):
"""Start configuration process and return a Configtracker instance
on which you can block with wait_finish() to get a True/False success
value for the configuration process.
:param reconfigure: deprecated, doesn't need to be checked anymore.
"""
assert self.is_configured() == reconfigure
if not self.get_config("addr") or not self.get_config("mail_pw"):
raise MissingCredentials("addr or mail_pwd not set in config")
configtracker = ConfigureTracker(self)