mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
apparently lint likes long lines more than me
This commit is contained in:
@@ -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")))
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user