We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6c8bb commit 66c561eCopy full SHA for 66c561e
pywhatkit/core/core.py
@@ -47,7 +47,7 @@ def findtextbox() -> None:
47
dir_path = os.path.dirname(os.path.realpath(__file__))
48
try:
49
location = locateOnScreen(f"{dir_path}\\data\\pywhatkit_smile1.png")
50
- except ImageNotFoundException or location[0] is None:
+ except ImageNotFoundException or location is None:
51
location = locateOnScreen(f"{dir_path}\\data\\pywhatkit_smile.png")
52
moveTo(location[0] + 150, location[1] + 5)
53
click()
0 commit comments