Skip to content

Comments

Fix locate_on_screen#132

Open
Giovaaanniii wants to merge 1 commit intomasterfrom
fix-locate_on_screen
Open

Fix locate_on_screen#132
Giovaaanniii wants to merge 1 commit intomasterfrom
fix-locate_on_screen

Conversation

@Giovaaanniii
Copy link
Contributor

during the training process, it was explained to me that if I change the functionality of the master, I need to create branches separate from it, so I created a new pull_request

try:
coord = pyautogui.locateOnScreen(img_path, confidence=0.5)
except pyautogui.ImageNotFoundException:
except (pyautogui.ImageNotFoundException, OSError, TestException):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

С OSError надо разобраться, но откуда тут взялся TestException?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants