From bfdc5d66ca01a40d46273e1f1e8eba37f5395ba5 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 11 Sep 2023 15:54:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hrm/services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/hrm/services.py b/apps/hrm/services.py index b291ab20..072df66d 100755 --- a/apps/hrm/services.py +++ b/apps/hrm/services.py @@ -22,10 +22,10 @@ myLogger = logging.getLogger('log') @singleton class FaceDb(): - def __init__(self, face_df) -> None: + def __init__(self, face_df=None) -> None: self.face_df = face_df -facedb = FaceDb(None) +facedb = FaceDb() class HrmService: