Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit 9ca41fc

Browse files
committed
added check if exist directory of file before all the procesing
1 parent daeddce commit 9ca41fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

avalon/pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,9 @@ def path_from_data():
13411341
return os.path.normpath(path)
13421342

13431343
dir_path, file_name = os.path.split(path)
1344+
if not os.path.exists(dir_path):
1345+
return
1346+
13441347
base_name, ext = os.path.splitext(file_name)
13451348
file_name_items = None
13461349
if "#" in base_name:

0 commit comments

Comments
 (0)