apparently lint likes long lines more than me

This commit is contained in:
missytake
2022-07-25 21:18:51 +02:00
parent 52a8ec48b7
commit 64515786be
2 changed files with 2 additions and 7 deletions

View File

@@ -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")))

View File

@@ -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")