mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed typos
This commit is contained in:
parent
c89ed35429
commit
2133dfa49c
3 changed files with 6 additions and 5 deletions
|
|
@ -264,7 +264,7 @@ class AppAction(BaseHandler):
|
|||
if execfile is None:
|
||||
return {
|
||||
"success": False,
|
||||
"message": "We didn't found launcher for {0}".format(
|
||||
"message": "We didn't find launcher for {0}".format(
|
||||
self.label
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ class CollectRenderedFiles(pyblish.api.ContextPlugin):
|
|||
if project_name is None:
|
||||
root = None
|
||||
self.log.warning(
|
||||
"Environment `AVLAON_PROJECT` was not found."
|
||||
"Environment `AVALON_PROJECT` was not found."
|
||||
"Could not set `root` which may cause issues."
|
||||
)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class TextureCopy:
|
|||
return asset
|
||||
|
||||
def _get_destination_path(self, asset, project):
|
||||
project_name = api.Session["AVALON_PROJECT"]
|
||||
project_name = project["name"]
|
||||
hierarchy = ""
|
||||
parents = asset['data']['parents']
|
||||
if parents and len(parents) > 0:
|
||||
|
|
@ -63,8 +63,9 @@ class TextureCopy:
|
|||
"subset": 'Main',
|
||||
"hierarchy": hierarchy
|
||||
}
|
||||
anatomy_filled = Anatomy(project_name).format(template_data)
|
||||
return os.path.normpath(anatomy_filled['texture']['path'])
|
||||
anatomy = Anatomy(project_name)
|
||||
anatomy_filled = anatomy.format(template_data)
|
||||
return anatomy_filled['texture']['path']
|
||||
|
||||
def _get_version(self, path):
|
||||
versions = [0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue