Commit 42bea5db authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request alpha/sun!157
parents 89062c33 e6628ba8
......@@ -44,12 +44,10 @@ class FileBatchUpload(APIView):
image_type = self.args_post.get('uploadType')
image_list = request.FILES.pop('files')
print(image_list)
result = []
# import ipdb; ipdb.set_trace()
for image in image_list:
print(image)
data = image.read()
if image_type == FACE_IMAGE_TYPE:
types = str(image).split('.')[-1]
......
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