summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 05:32:03 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 05:32:03 +0200
commit558d7869bdb38b7f03719cdc52d03e0a328ce6ba (patch)
treee63bdb6866b95c82eedfbf8e76c6a6f12765f83e /test-mogrify.py
parent67f327dbfcbe849184685d7f003457fdfb4588a6 (diff)
yes
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index cd1bec0..9dcae86 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -93,8 +93,8 @@ if __name__ == '__main__':
processed = True
img = cv2.Canny(img, data_opt.canny_lo, data_opt.canny_hi)
- # if processed is False:
- # return img
+ if processed is False:
+ return img
src_img = im[:, :, ::-1].copy()
frac_a = data_opt.process_frac