From bff2b80acf8370816ccefd26dcfed71d749102f6 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Tue, 11 Jul 2023 20:38:09 +0200 Subject: [PATCH] MultiServer: fix loading of default hint_cost (#1964) --- MultiServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiServer.py b/MultiServer.py index aa3119c4f0ab..3e73910b9f86 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -2135,7 +2135,7 @@ async def console(ctx: Context): def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser() - defaults = Utils.get_options()["server_options"] + defaults = Utils.get_options()["server_options"].as_dict() parser.add_argument('multidata', nargs="?", default=defaults["multidata"]) parser.add_argument('--host', default=defaults["host"]) parser.add_argument('--port', default=defaults["port"], type=int)