fix(ppro): detect non directories on synsing

This commit is contained in:
Jakub Jezek 2020-04-23 14:02:38 +02:00
parent eae1adc842
commit 1ebfc688a5
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -129,6 +129,8 @@ def extensions_sync():
# synchronize all extensions
for name, src, dst in process_pairs:
if not os.path.isdir(src):
continue
if not os.path.exists(dst):
os.makedirs(dst, mode=0o777)
walktree(source=src, target=dst, options_input=["y", ">"])