mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4196 - remove unnecessary logging
This commit is contained in:
parent
c61098b782
commit
f993842c4e
1 changed files with 0 additions and 2 deletions
|
|
@ -148,13 +148,11 @@ class IntegrateSlackAPI(pyblish.api.InstancePlugin):
|
|||
thumbnail_path = None
|
||||
for repre in instance.data.get("representations", []):
|
||||
if repre.get('thumbnail') or "thumbnail" in repre.get('tags', []):
|
||||
self.log.info(repre)
|
||||
repre_thumbnail_path = (
|
||||
repre.get("published_path") or
|
||||
os.path.join(repre["stagingDir"], repre["files"])
|
||||
)
|
||||
if os.path.exists(repre_thumbnail_path):
|
||||
self.log.info("exists")
|
||||
thumbnail_path = repre_thumbnail_path
|
||||
break
|
||||
return thumbnail_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue