Comment fix

This commit is contained in:
Vespinian 2023-03-15 22:27:54 -04:00
parent dfa258de5f
commit f04bd037a5

View file

@ -217,7 +217,7 @@ class Api:
if "args" in request.alwayson_scripts[alwayson_script_name]: if "args" in request.alwayson_scripts[alwayson_script_name]:
script_args[alwayson_script.args_from:alwayson_script.args_to] = request.alwayson_scripts[alwayson_script_name]["args"] script_args[alwayson_script.args_from:alwayson_script.args_to] = request.alwayson_scripts[alwayson_script_name]["args"]
# Remove always on scripts that were not included in the request by resetting the script list in out ScriptRunner # Remove always on scripts that were not included in the request by resetting the script list in our ScriptRunner
script_runner.alwayson_scripts.clear() script_runner.alwayson_scripts.clear()
script_runner.alwayson_scripts = alwayson_script_to_run script_runner.alwayson_scripts = alwayson_script_to_run
script_runner.scripts.clear() script_runner.scripts.clear()