Open LeonardoFerrari opened 2 years ago
There's no validation of the value passed as argument for the button parameter in the click() function. I added a conditional to check if it's a string. If so, it'll lower the 'button', if not (number) it'll ignore the .lower() assignment.
There's no validation of the value passed as argument for the button parameter in the click() function. I added a conditional to check if it's a string. If so, it'll lower the 'button', if not (number) it'll ignore the .lower() assignment.