fananimi / pyzk

Unofficial library of zkteco fingerprint attendance machine
GNU General Public License v2.0
498 stars 330 forks source link

Invalid Time Period when create user from Python #124

Closed azukhrufy closed 3 years ago

azukhrufy commented 3 years ago

I try set_user( ) function when running the app, the user successfully created and appear on my ZKteco devices, on that user i registered my finger and my face. but when i try to check in via zkteco devices its return "invalid time period"

here is my code :

conn.set_user(uid=20, name='Azukhrufy', privilege=const.USER_ADMIN, user_id='20', group_id='\x01')

nb : my device is ZKteco SpeedFace-V5L

Expected behavior The user can check in and check out at the devices.

System (please complete the following information):