Commit e6628ba8 authored by 王浩's avatar 王浩

fix code

parent d4a84490
......@@ -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