From 9707f13a4213c7a2c4ead5e0caecb52e10fd40ee Mon Sep 17 00:00:00 2001 From: missytake Date: Tue, 2 Aug 2022 13:05:41 +0200 Subject: [PATCH] deprecated check whether account can be reconfigured --- python/src/deltachat/account.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index b3de2b105..d02f37348 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -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)