mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix(ppro): detect non directories on synsing
This commit is contained in:
parent
eae1adc842
commit
1ebfc688a5
1 changed files with 2 additions and 0 deletions
|
|
@ -129,6 +129,8 @@ def extensions_sync():
|
||||||
|
|
||||||
# synchronize all extensions
|
# synchronize all extensions
|
||||||
for name, src, dst in process_pairs:
|
for name, src, dst in process_pairs:
|
||||||
|
if not os.path.isdir(src):
|
||||||
|
continue
|
||||||
if not os.path.exists(dst):
|
if not os.path.exists(dst):
|
||||||
os.makedirs(dst, mode=0o777)
|
os.makedirs(dst, mode=0o777)
|
||||||
walktree(source=src, target=dst, options_input=["y", ">"])
|
walktree(source=src, target=dst, options_input=["y", ">"])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue