summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-16 12:55:14 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-16 12:55:14 +0200
commit56f6b067eca5b7f4ce34e12b1a91daedfc7e6919 (patch)
treed2bab95abfbe8b58d553028c540d5db937c65d10 /test-mogrify.py
parent202f40a2214eaca675d6bdb07eff1dcc8b94c449 (diff)
test script
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index d7d7d9d..348d805 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -185,6 +185,8 @@ if __name__ == '__main__':
render_path = render_dir + "ren_{:05d}.png".format(i+1)
if A_dir is not None:
sequence_path = A_dir.format(A_offset+i+1)
+ if not os.path.exists(sequence_path) and opt.how_many > 99999:
+ break
# A_offset
# save rendered image