-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error With locateCenterOnScreen #49
Comments
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. |
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Sep 26, 2019
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Sep 26, 2019
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Oct 3, 2019
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Oct 3, 2019
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Oct 3, 2019
bugchecker
added a commit
to bugchecker/pyscreeze
that referenced
this issue
Oct 31, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
The text was updated successfully, but these errors were encountered: