commit 5bfcd9798c8a552ce86c9c021e58c2a94f8822ce
parent 9dd3f2e447a23cf06d1c94d2f2e4c1c66854d2f8
Author: rob <rob@tarina.org>
Date: Thu, 26 Oct 2023 20:37:29 +0100
make folders
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -868,7 +868,10 @@ def main():
for sc in range(pscenes):
for i in range(pshots):
placeholders=filmfolder + filmname + '/scene' + str(sc+1).zfill(3) + '/shot' + str(i+1).zfill(3)
- os.makedirs(placeholders)
+ try:
+ os.makedirs(placeholders)
+ except:
+ logger.info('scene or shot already there!')
run_command('touch ' + placeholders + '/.placeholder')
#SHOWTARINACTRL
if recordwithports: