mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
grammar fixes
This commit is contained in:
parent
7683be8e3f
commit
c73059869e
1 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ class IntegrateThumbnails(pyblish.api.InstancePlugin):
|
||||||
published_repres = instance.data.get("published_representations")
|
published_repres = instance.data.get("published_representations")
|
||||||
if not published_repres:
|
if not published_repres:
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
"There are not published representations on the instance."
|
"There are no published representations on the instance."
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
@ -42,12 +42,12 @@ class IntegrateThumbnails(pyblish.api.InstancePlugin):
|
||||||
|
|
||||||
anatomy = instance.context.data["anatomy"]
|
anatomy = instance.context.data["anatomy"]
|
||||||
if "publish" not in anatomy.templates:
|
if "publish" not in anatomy.templates:
|
||||||
self.warning("Anatomy does not have set publish key!")
|
self.log.warning("Anatomy is missing the \"publish\" key!")
|
||||||
return
|
return
|
||||||
|
|
||||||
if "thumbnail" not in anatomy.templates["publish"]:
|
if "thumbnail" not in anatomy.templates["publish"]:
|
||||||
self.warning((
|
self.log.warning((
|
||||||
"There is not set \"thumbnail\" template for project \"{}\""
|
"There is no \"thumbnail\" template set for the project \"{}\""
|
||||||
).format(project_name))
|
).format(project_name))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue