How to solve frappe.exceptions.ValidationError: This employee already has a log with the same timestamp

I am using this to connect biometric device with erppnext. I use this link and everything ok


But i have error says:
frappe.exceptions.ValidationError: This employee already has a log with the same timestamp
I tried to edit attendance log but the same error still.
Any kind of help please?