From 7b81a34d8930dfa8284b4827d3e4c7b2653588d6 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 21 Jan 2022 14:04:39 +0800 Subject: [PATCH] face cinoare from base64 bug --- hb_server/apps/hrm/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hb_server/apps/hrm/services.py b/hb_server/apps/hrm/services.py index 14f5eb1..7cdc013 100644 --- a/hb_server/apps/hrm/services.py +++ b/hb_server/apps/hrm/services.py @@ -7,6 +7,7 @@ from apps.system.models import User class HRMService: + @classmethod def face_compare_from_base64(cls, base64_data): filename = str(uuid.uuid4()) filepath = settings.BASE_DIR +'/temp/' + filename +'.png'