Skip to content

Commit 8035216

Browse files
committed
🐛 lmodel is [] if None
1 parent 06fdb4d commit 8035216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modelitool/simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(
6565
model_system_args = {
6666
"fileName": (package_path or model_path).as_posix(),
6767
"modelName": model_path.stem if package_path is None else model_path,
68-
"lmodel": lmodel,
68+
"lmodel": lmodel if lmodel is not None else [],
6969
"variableFilter": ".*" if output_list is None else "|".join(output_list),
7070
}
7171

0 commit comments

Comments
 (0)