Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 920

Need some help in this

by InfernoShop - 16 August, 2020 - 11:12 AM
This post is by a banned member (InfernoShop) - Unhide
1.109
Posts
302
Threads
4 Years of service
#1
can someone tell me whats wrong here

 _location_=pyautogui.center(_start_button_)
  File "C:\Users\INDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyscreeze\__init__.py", line 552, in center
    return Point(coords[0] + int(coords[2] / 2), coords[1] + int(coords[3] / 2))
TypeError: 'NoneType' object is not subscriptable
This post is by a banned member (goodoldie) - Unhide
goodoldie  
Registered
135
Posts
3
Threads
5 Years of service
#2
Not much info here. But if I were to guess, _start_button_ is the wrong type. You can probably try to debug from there.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)