上传照片bug
This commit is contained in:
parent
cb2986ca91
commit
d54ea2c2dc
|
@ -40,6 +40,7 @@ class HRMService:
|
|||
return user, ''
|
||||
return None, '识别失败'
|
||||
|
||||
@classmethod
|
||||
def get_facedata_from_img(cls, img_path):
|
||||
try:
|
||||
photo_path = settings.BASE_DIR + img_path
|
||||
|
|
Loading…
Reference in New Issue