fixed typos

This commit is contained in:
iLLiCiTiT 2020-04-06 15:53:31 +02:00
parent c89ed35429
commit 2133dfa49c
3 changed files with 6 additions and 5 deletions

View file

@ -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
)
}

View file

@ -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:

View file

@ -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]