mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
remove useless settings
This commit is contained in:
parent
6de1710810
commit
610a65420d
1 changed files with 0 additions and 9 deletions
|
|
@ -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", []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue