remove useless settings

This commit is contained in:
Félix David 2023-04-26 14:02:18 +02:00
parent 6de1710810
commit 610a65420d

View file

@ -14,15 +14,6 @@ class AddPythonScriptToLaunchArgs(PreLaunchHook):
]
def execute(self):
# Check enabled in settings
project_name = self.data["project_name"]
project_settings = get_project_settings(project_name)
host_name = self.application.host_name
host_settings = project_settings.get(host_name)
if not host_settings:
self.log.info(f"""Host "{host_name}" doesn\'t have settings""")
return None
# Add path to workfile to arguments
for python_script_path in self.launch_context.data.get(
"python_scripts", []