mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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:
|
if execfile is None:
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"message": "We didn't found launcher for {0}".format(
|
"message": "We didn't find launcher for {0}".format(
|
||||||
self.label
|
self.label
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ class CollectRenderedFiles(pyblish.api.ContextPlugin):
|
||||||
if project_name is None:
|
if project_name is None:
|
||||||
root = None
|
root = None
|
||||||
self.log.warning(
|
self.log.warning(
|
||||||
"Environment `AVLAON_PROJECT` was not found."
|
"Environment `AVALON_PROJECT` was not found."
|
||||||
"Could not set `root` which may cause issues."
|
"Could not set `root` which may cause issues."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ class TextureCopy:
|
||||||
return asset
|
return asset
|
||||||
|
|
||||||
def _get_destination_path(self, asset, project):
|
def _get_destination_path(self, asset, project):
|
||||||
project_name = api.Session["AVALON_PROJECT"]
|
project_name = project["name"]
|
||||||
hierarchy = ""
|
hierarchy = ""
|
||||||
parents = asset['data']['parents']
|
parents = asset['data']['parents']
|
||||||
if parents and len(parents) > 0:
|
if parents and len(parents) > 0:
|
||||||
|
|
@ -63,8 +63,9 @@ class TextureCopy:
|
||||||
"subset": 'Main',
|
"subset": 'Main',
|
||||||
"hierarchy": hierarchy
|
"hierarchy": hierarchy
|
||||||
}
|
}
|
||||||
anatomy_filled = Anatomy(project_name).format(template_data)
|
anatomy = Anatomy(project_name)
|
||||||
return os.path.normpath(anatomy_filled['texture']['path'])
|
anatomy_filled = anatomy.format(template_data)
|
||||||
|
return anatomy_filled['texture']['path']
|
||||||
|
|
||||||
def _get_version(self, path):
|
def _get_version(self, path):
|
||||||
versions = [0]
|
versions = [0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue