Reset default values

This commit is contained in:
Vik Paruchuri
2013-01-30 15:57:10 -05:00
parent efe250f912
commit 34bb0423d7
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ MAX_SCORE = 1
MAX_SCORE_ALLOWED = 3
IS_SCORED = False
ACCEPT_FILE_UPLOAD = True
ACCEPT_FILE_UPLOAD = False
#Contains all reasonable bool and case combinations of True
TRUE_DICT = ["True", True, "TRUE", "true"]

View File

@@ -31,7 +31,7 @@ ALLOWABLE_IMAGE_SUFFIXES = [
]
#Maximum allowed dimensions (x and y) for an uploaded image
MAX_ALLOWED_IMAGE_DIM = 1500
MAX_ALLOWED_IMAGE_DIM = 1000
#Dimensions to which image is resized before it is evaluated for color count, etc
MAX_IMAGE_DIM = 150
@@ -40,7 +40,7 @@ MAX_IMAGE_DIM = 150
MAX_COLORS_TO_COUNT = 16
#Maximum number of colors allowed in an uploaded image
MAX_COLORS = 20
MAX_COLORS = 400
class ImageProperties(object):
"""