summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-15 20:35:32 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-15 20:35:32 +0100
commitafd063ed2a80b4318bbcaa4ab5df489ab4efd6bd (patch)
tree2936cfee8b6c934342e056392212832e5575230d /test.py
parent386386473d905f4f7b03daa02cfecdadfc78b631 (diff)
fixies
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.py b/test.py
index 3b3db01..eab51b2 100644
--- a/test.py
+++ b/test.py
@@ -49,7 +49,8 @@ def process_dir(dir):
out_path = os.path.join(args.out_dir, dataset, str(args.L) + 'L', part)
render_path = os.path.join(args.out_dir, 'renders')
os.makedirs(out_path, exist_ok=True)
- os.makedirs(render_path, exist_ok=True)
+ if args.mov_from_dirs:
+ os.makedirs(render_path, exist_ok=True)
dir_frames = sorted(glob.glob(os.path.join(dir, '*.png')))
# print(dir_frames)