Minor cleanup
This commit is contained in:
parent
ed187ad05f
commit
d242537d80
2 changed files with 2 additions and 2 deletions
|
|
@ -203,7 +203,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
|
||||||
|
|
||||||
@lazy_property
|
@lazy_property
|
||||||
def options(self):
|
def options(self):
|
||||||
return OptionHandler(self,
|
return OptionHandler(self,
|
||||||
options_dict=settings.OPTIONS_ACCOUNT_DEFAULT,
|
options_dict=settings.OPTIONS_ACCOUNT_DEFAULT,
|
||||||
savefunc=self.attributes.add,
|
savefunc=self.attributes.add,
|
||||||
loadfunc=self.attributes.get,
|
loadfunc=self.attributes.get,
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ class CmdUnconnectedLook(COMMAND_DEFAULT_CLASS):
|
||||||
def func(self):
|
def func(self):
|
||||||
"""Show the connect screen."""
|
"""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:
|
if "connection_screen" in callables:
|
||||||
connection_screen = callables['connection_screen']()
|
connection_screen = callables['connection_screen']()
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue