mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
Fix - check existence only if not None
review_path might be None
This commit is contained in:
parent
131e27008c
commit
6568db35af
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class IntegrateSlackAPI(pyblish.api.InstancePlugin):
|
|||
repre_review_path = get_publish_repre_path(
|
||||
instance, repre, False
|
||||
)
|
||||
if os.path.exists(repre_review_path):
|
||||
if repre_review_path and os.path.exists(repre_review_path):
|
||||
review_path = repre_review_path
|
||||
if "burnin" in tags: # burnin has precedence if exists
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue