From d242537d80cab1889d55e3d0bbd2561c6f5260d6 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 18 May 2019 13:20:45 +0200 Subject: [PATCH] Minor cleanup --- evennia/accounts/accounts.py | 2 +- evennia/commands/default/unloggedin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/accounts/accounts.py b/evennia/accounts/accounts.py index d88dc89f1f..1ca06e4054 100644 --- a/evennia/accounts/accounts.py +++ b/evennia/accounts/accounts.py @@ -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, diff --git a/evennia/commands/default/unloggedin.py b/evennia/commands/default/unloggedin.py index 2af3c6bd95..03c3f65b58 100644 --- a/evennia/commands/default/unloggedin.py +++ b/evennia/commands/default/unloggedin.py @@ -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: