Open andrewjurczynski opened 2 years ago
why want a None value.
if below can solve your problem?
try: run_some_funcions() except XXX: handle_exception()
why want a None value.
if below can solve your problem?
try: run_some_funcions() except XXX: handle_exception()
I believe that's @andrewjurczynski is saying. It returns 'None' but it should raise an exception.
Documentations on this are not correct issue 441 describes the culprit. You can add pyautogui.useImageNotFoundException()
after the imports in your code, and that will "fix" the problem you are facing
Running the latest version and instead of returning an exception like it should it returns a none value.