Commit 34bb0423 by Vik Paruchuri

Reset default values

parent efe250f9
...@@ -39,7 +39,7 @@ MAX_SCORE = 1 ...@@ -39,7 +39,7 @@ MAX_SCORE = 1
MAX_SCORE_ALLOWED = 3 MAX_SCORE_ALLOWED = 3
IS_SCORED = False IS_SCORED = False
ACCEPT_FILE_UPLOAD = True ACCEPT_FILE_UPLOAD = False
#Contains all reasonable bool and case combinations of True #Contains all reasonable bool and case combinations of True
TRUE_DICT = ["True", True, "TRUE", "true"] TRUE_DICT = ["True", True, "TRUE", "true"]
......
...@@ -31,7 +31,7 @@ ALLOWABLE_IMAGE_SUFFIXES = [ ...@@ -31,7 +31,7 @@ ALLOWABLE_IMAGE_SUFFIXES = [
] ]
#Maximum allowed dimensions (x and y) for an uploaded image #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 #Dimensions to which image is resized before it is evaluated for color count, etc
MAX_IMAGE_DIM = 150 MAX_IMAGE_DIM = 150
...@@ -40,7 +40,7 @@ MAX_IMAGE_DIM = 150 ...@@ -40,7 +40,7 @@ MAX_IMAGE_DIM = 150
MAX_COLORS_TO_COUNT = 16 MAX_COLORS_TO_COUNT = 16
#Maximum number of colors allowed in an uploaded image #Maximum number of colors allowed in an uploaded image
MAX_COLORS = 20 MAX_COLORS = 400
class ImageProperties(object): class ImageProperties(object):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment