checkpoint: into main from release/2.0.0 @ 914505f945 (#16084)

Source hash: 914505f945
Remaining commits: 2
This commit is contained in:
William Allen 2023-08-16 21:33:17 -05:00 committed by GitHub
commit 90f3be386b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -810,7 +810,7 @@ class WebSocketServer:
def _chiapos_plotting_command_args(self, request: Any, ignoreCount: bool) -> List[str]:
k = request["k"] # Plot size
t = request["t"] # Temp directory
t2 = request["t2"] # Temp2 directory
t2 = request.get("t2") # Temp2 directory
b = request["b"] # Buffer size
u = request["u"] # Buckets
a = request.get("a") # Fingerprint
@ -818,8 +818,11 @@ class WebSocketServer:
x = request["x"] # Exclude final directory
override_k = request["overrideK"] # Force plot sizes < k32
command_args: List[str] = ["-k", str(k), "-t", t, "-2", t2, "-b", str(b), "-u", str(u)]
command_args: List[str] = ["-k", str(k), "-t", t, "-b", str(b), "-u", str(u)]
if t2 is not None:
command_args.append("-2")
command_args.append(str(t2))
if a is not None:
command_args.append("-a")
command_args.append(str(a))