Skip to content

Commit edaf2e1

Browse files
committed
fix: command args are modified unexpectedly
1 parent 3d0bd55 commit edaf2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smcl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def cmd_result(self, result):
5454
resultJson = json.dumps(result)
5555
self.run_js(f"window.cmdResult({resultJson});")
5656
def cmcl_waiting(self, cmd):
57-
args = CMCL_CMD
57+
args = CMCL_CMD.copy()
5858
if cmd is not None:
5959
self.log(f"CMCL: {cmd}")
6060
args += cmd

0 commit comments

Comments
 (0)