summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-mogrify.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index 4596f2c..49ca1dd 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -147,6 +147,8 @@ if __name__ == '__main__':
if data_opt.recurse_roll != 0:
last_im = np.roll(tmp_im, data_opt.recurse_roll, axis=data_opt.recurse_roll_axis)
+ else:
+ last_im = im.copy().astype('uint8')
else:
last_im = im.copy().astype('uint8')