Browse Source

Fix --new_swarm CLI arg

Aleksandr Borzunov 2 years ago
parent
commit
bfbecac300
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cli/run_server.py

+ 1 - 1
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