Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
skip path exists
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jan 25, 2024
1 parent 77a12f4 commit 8f6d78e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion openpype/pipeline/project_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ def concatenate_splitted_paths(split_paths, anatomy):
# backward compatibility
if "__project_root__" in path_items:
for root, root_path in anatomy.roots.items():
if not root_path:
if not root_path or not os.path.exists(str(root_path)):
log.debug(
"Root {} path path {} not exist on computer!".format(
root, root_path
)
)
continue

root_items = [
"{{root[{}]}}".format(root),
"{project[name]}"
Expand Down

0 comments on commit 8f6d78e

Please sign in to comment.