Skip to content

Commit 66c561e

Browse files
authored
final change
1 parent 6a6c8bb commit 66c561e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywhatkit/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def findtextbox() -> None:
4747
dir_path = os.path.dirname(os.path.realpath(__file__))
4848
try:
4949
location = locateOnScreen(f"{dir_path}\\data\\pywhatkit_smile1.png")
50-
except ImageNotFoundException or location[0] is None:
50+
except ImageNotFoundException or location is None:
5151
location = locateOnScreen(f"{dir_path}\\data\\pywhatkit_smile.png")
5252
moveTo(location[0] + 150, location[1] + 5)
5353
click()

0 commit comments

Comments
 (0)