Closed ricarcya closed 4 years ago
please check #56 probably the same issue.
THX! .....its works
change the line 1563 of base.py to
uid, status, punch, timestamp = unpack('<HBB4s', attendance_data.ljust(8, b'\x00')[:8])
before change ATT 1: uid: 38, user_id: 38 t: 2026-06-06 12:35:12, s:8 p:39
after change ATT 1: uid: 38, user_id: 38 t: 2020-06-17 10:58:21, s:8 p:0
same device MA300-BT
I am testing the library with the MA300-BT fingerprint device. Everything has worked well, until the moment of recovering the employee's assistance that appear with dates of several months or years in the future.
To Reproduce Steps to reproduce the behavior:
Expected behavior list of attendances with correct date/time test_machine_output.txt
Capture Data verbose output from test_machine attached
System (please complete the following information):
OS: Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.51-3 (2017-12-13)
Python 2.7.9