Minor cleanup

This commit is contained in:
Griatch 2019-05-18 13:20:45 +02:00
parent ed187ad05f
commit d242537d80
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
@lazy_property
def options(self):
return OptionHandler(self,
return OptionHandler(self,
options_dict=settings.OPTIONS_ACCOUNT_DEFAULT,
savefunc=self.attributes.add,
loadfunc=self.attributes.get,

View file

@ -235,7 +235,7 @@ class CmdUnconnectedLook(COMMAND_DEFAULT_CLASS):
def func(self):
"""Show the connect screen."""
callables = utils.callables_from_module(CONNECTION_SCREEN_MODULE)
callables = utils.callables_from_module(CONNECTION_SCREEN_MODULE)
if "connection_screen" in callables:
connection_screen = callables['connection_screen']()
else: