From a813afcd021be844b3a156c92dd1fdf9826a8f0d Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 15 Oct 2022 17:53:09 +0800 Subject: [PATCH] Use append to add dict to cs --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index acf2c59..12345d3 100644 --- a/main.py +++ b/main.py @@ -107,7 +107,7 @@ async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet for jo in jo_operations: print(jo) print(type(jo)) - cs.add(jo) + cs.append(jo) return execute_batch_commands(network, cs) # node