asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

fix for click using button numbers #731

Open ninnghazad opened 2 years ago

ninnghazad commented 2 years ago

click(button=3) would crash because it button.lower() does not exist for integers.