From 1f221133d2962338b5e8093d7b217f19e586469f Mon Sep 17 00:00:00 2001 From: Vik Paruchuri <vik@edx.org> Date: Wed, 30 Jan 2013 14:27:12 -0500 Subject: [PATCH] Remove skin tone check --- common/lib/xmodule/xmodule/open_ended_image_submission.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/open_ended_image_submission.py b/common/lib/xmodule/xmodule/open_ended_image_submission.py index 62e9a0d6d49..6e5220c9f61 100644 --- a/common/lib/xmodule/xmodule/open_ended_image_submission.py +++ b/common/lib/xmodule/xmodule/open_ended_image_submission.py @@ -83,7 +83,8 @@ class ImageProperties(object): Does all available checks on an image to ensure that it is okay (size, skin ratio, colors) @return: Boolean indicating whether or not image passes all checks """ - image_is_okay = self.count_colors() and self.get_skin_ratio() and not self.image_too_large + #image_is_okay = self.count_colors() and self.get_skin_ratio() and not self.image_too_large + image_is_okay = self.count_colors() and not self.image_too_large log.debug("Image too large: {0}".format(self.image_too_large)) log.debug("Image Okay: {0}".format(image_is_okay)) return image_is_okay -- GitLab