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: