Upload files to 'studio'
This commit is contained in:
parent
bcfbf8ca93
commit
7a81c17415
1 changed files with 6 additions and 1 deletions
|
@ -2407,8 +2407,13 @@ def layer(win):
|
||||||
|
|
||||||
at_least_one_missing = False
|
at_least_one_missing = False
|
||||||
list_of_folders_to_generate = ["storyboard", "opengl", "test_rnd", "rendered", "extra"]
|
list_of_folders_to_generate = ["storyboard", "opengl", "test_rnd", "rendered", "extra"]
|
||||||
|
files_there = []
|
||||||
|
try:
|
||||||
|
files_there = os.listdir(win.project+"/rnd"+win.cur)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
for i in list_of_folders_to_generate:
|
for i in list_of_folders_to_generate:
|
||||||
if i not in os.listdir(win.project+"/rnd"+win.cur):
|
if i not in files_there:
|
||||||
at_least_one_missing = True
|
at_least_one_missing = True
|
||||||
|
|
||||||
if at_least_one_missing:
|
if at_least_one_missing:
|
||||||
|
|
Loading…
Reference in a new issue