diff --git a/python/src/deltachat/__init__.py b/python/src/deltachat/__init__.py index ee0efb927..45f1b8b2e 100644 --- a/python/src/deltachat/__init__.py +++ b/python/src/deltachat/__init__.py @@ -60,10 +60,7 @@ def run_cmdline(argv=None, account_plugins=None): ac = Account(args.db) - ac.run_account(addr=args.email, - password=args.password, - account_plugins=account_plugins, - show_ffi=args.show_ffi) + ac.run_account(addr=args.email, password=args.password, account_plugins=account_plugins, show_ffi=args.show_ffi) print("{}: waiting for message".format(ac.get_config("addr"))) diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index 83912fea9..c5e14b5b6 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -616,9 +616,7 @@ class Account(object): self.add_account_plugin(plugin) if not self.is_configured(): - assert ( - addr and password - ), "you must specify email and password once to configure this database/account" + assert addr and password, "you must specify email and password once to configure this database/account" self.set_config("addr", addr) self.set_config("mail_pw", password) self.set_config("mvbox_move", "0")