summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-22 14:13:15 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-22 14:13:15 +0200
commit3ed65b17cd8c384de60341bbdff45d0c0377c319 (patch)
tree63adc810316b345e0f570813079d683680d20b8c /test.py
parent3eba15ef7011066f6750120fa4988469d72ebe01 (diff)
push
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 6941098..a712207 100644
--- a/test.py
+++ b/test.py
@@ -60,7 +60,7 @@ if __name__ == '__main__':
# image_pil = ImageOps.expand(image_pil, p)
# image_pil.save(save_path)
# copyfile(save_path, final_path)
- if i > 0:
+ if last_im is not None:
im = np.divide(im, 2)
tmp_im = im.copy()
im = np.add(im, last_im)