Commit f04bd037 authored by Vespinian's avatar Vespinian

Comment fix

parent dfa258de
...@@ -217,7 +217,7 @@ class Api: ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment