summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 05:44:29 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 05:44:29 +0200
commitb439a144df0125601d3a5c454f87750da89cc286 (patch)
tree40e6e9f8043aa3ca4117791822b939c8971e9bad /test-mogrify.py
parent558d7869bdb38b7f03719cdc52d03e0a328ce6ba (diff)
run
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index 9dcae86..be74ba8 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -93,7 +93,7 @@ if __name__ == '__main__':
processed = True
img = cv2.Canny(img, data_opt.canny_lo, data_opt.canny_hi)
- if processed is False:
+ if processed is False or data_opt.process_frac == 0:
return img
src_img = im[:, :, ::-1].copy()