diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-15 20:35:32 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-15 20:35:32 +0100 |
| commit | afd063ed2a80b4318bbcaa4ab5df489ab4efd6bd (patch) | |
| tree | 2936cfee8b6c934342e056392212832e5575230d /test.py | |
| parent | 386386473d905f4f7b03daa02cfecdadfc78b631 (diff) | |
fixies
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
