Added a comment to clarify that this shouldn't stay here.

This commit is contained in:
Christopher Allan Webber 2011-06-06 07:57:05 -05:00
parent 2190ecde8d
commit fe4ffb860f

View File

@ -24,6 +24,8 @@ def check_filetype(posted_file):
if not guess_type(posted_file.filename) in ALLOWED:
return False
# TODO: This should be handled by the processing stage. We should
# handle error detection there.
try:
image = image_open(posted_file.file)
except IOError: