From 3ed65b17cd8c384de60341bbdff45d0c0377c319 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Apr 2018 14:13:15 +0200 Subject: push --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.py') 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) -- cgit v1.2.3-70-g09d2