Open Croq360 opened 5 years ago
Exactly!!! I'm using an avoidance by putting a "try" block around every call!
This would be a nice fix. I ended up adding an if statement to locateCenterOnScreen() originally, but this makes more sense, since center could eventually be used in another method.
With the current code, if you try to do locateCenterOnScreen(), and you are using the default "return None" approach, you get the following error:
This can be corrected by changing the center() function to read: