From c20ab2e2e7df0b5c5f0c7f454e6dbfd4a8879fc7 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 8 Oct 2025 15:28:54 -0500 Subject: [PATCH] minor change --- .../Services/PyInterpretService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.PythonInterpreter/Services/PyInterpretService.cs b/src/Plugins/BotSharp.Plugin.PythonInterpreter/Services/PyInterpretService.cs index 9041126b..46ed2e47 100644 --- a/src/Plugins/BotSharp.Plugin.PythonInterpreter/Services/PyInterpretService.cs +++ b/src/Plugins/BotSharp.Plugin.PythonInterpreter/Services/PyInterpretService.cs @@ -81,7 +81,7 @@ public class PyInterpretService : ICodeInterpretService var list = new PyList(); if (options?.Arguments?.Any() == true) { - list.Append(new PyString(options?.ScriptName.IfNullOrEmptyAs("script.py"))); + list.Append(new PyString(options?.ScriptName ?? "script.py")); foreach (var arg in options.Arguments) {