Skip to content

Commit 7fd57f0

Browse files
akshaykasebbeutler
authored andcommitted
fix: wasm kernels don't have argv (marimo-team#5476)
We were accidentally providing an extra argument to `argv` in WASM, which was breaking the argparse example in the docs.
1 parent 07fa475 commit 7fd57f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marimo/_pyodide/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def write_kernel_message(op: KernelMessage) -> None:
135135
query_params=query_params,
136136
filename=filename,
137137
cli_args={},
138-
argv=[""],
138+
argv=[],
139139
app_config=app.config,
140140
),
141141
user_config,

0 commit comments

Comments
 (0)