fixed syntax error and simplified workfile argument

This commit is contained in:
iLLiCiTiT 2020-12-02 09:19:45 +01:00
parent eff8117881
commit a10bd5d55e
6 changed files with 6 additions and 18 deletions

View file

@ -20,9 +20,7 @@ class CelactionPrelaunchHook(PreLaunchHook):
# Add workfile path to launch arguments
workfile_path = self.workfile_path()
if workfile_path:
self.launch_context.launch_args.append(
"\"{}\"".format(workfile_path)
)
self.launch_context.launch_args.append(workfile_path)
project_name = self.data["project_name"]
asset_name = self.data["asset_name"]