vinaychandraka / Fingerprint_module_R305---Python_and_MySQL

Fingers enrolled using the R305 module and stored in a database along with the person's name. Next just by typing the persons name, his/her finger template can be stored or deleted in the R305 module ready for authentication.
9 stars 11 forks source link

List index out of range #4

Open Veneth opened 6 years ago

Veneth commented 6 years ago

Dear Vinaychandraka,

While running your code on raspberry pi3 I get this error. Please help me to fix that error!

Type done to exit
Enter name : veneth

Traceback (most recent call last):
  File "/home/pi/Veneth/R305/upload fingerprint.py", line 92, in <module>
    if verifyFinger():
  File "/home/pi/Veneth/R305/upload fingerprint.py", line 63, in verifyFinger
    return s[4]
IndexError: list index out of range