BIO-Metric Fix
This commit is contained in:
parent
8fa0f7c61e
commit
42bc4fb51a
|
|
@ -248,7 +248,7 @@ class BiometricDeviceDetails(models.Model):
|
||||||
"""Process attendance data from the device"""
|
"""Process attendance data from the device"""
|
||||||
users = conn.get_users()
|
users = conn.get_users()
|
||||||
today = datetime.datetime.today().date().strftime("%Y-%m-%d")
|
today = datetime.datetime.today().date().strftime("%Y-%m-%d")
|
||||||
tolerance = datetime.timedelta(minutes=10)
|
tolerance = datetime.timedelta(minutes=1)
|
||||||
|
|
||||||
# Filter today's attendance
|
# Filter today's attendance
|
||||||
filtered_attendance = [
|
filtered_attendance = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue