From bfbecac300d7aa80a047d3c05cdaf9a2b2028d49 Mon Sep 17 00:00:00 2001 From: Aleksandr Borzunov Date: Sun, 27 Nov 2022 23:11:45 +0000 Subject: [PATCH] Fix --new_swarm CLI arg --- cli/run_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/run_server.py b/cli/run_server.py index bbfb51a..6ab7aa2 100644 --- a/cli/run_server.py +++ b/cli/run_server.py @@ -119,7 +119,7 @@ def main(): ), "unrecognized value for attention_cache_bytes, examples: 1.5GB or 1500MB or 1572864000 (bytes)" if args.pop("new_swarm"): - args.initial_peers = [] + args["initial_peers"] = [] use_auth_token = args.pop("use_auth_token") args["use_auth_token"] = True if use_auth_token in ("True", "true", "") else use_auth_token