ofeksadlo / lichess-cheat

Simple chess cheat for lichess based on opencv.
19 stars 14 forks source link

Cannot unpack non-iterable NoneType object issue #18

Open NyyoinXX opened 1 year ago

NyyoinXX commented 1 year ago

I run the script and it works at first, asking me to pick between white = w and black = b. However, after i choose I get this error message. How can i fix this?

Traceback (most recent call last): File "C:\Users\noahc\Downloads\lichess-cheat-master\lichess-cheat-master\main.py", line 367, in clientsMove += getCellFromPos(waitForClick(), playerColor) File "C:\Users\noahc\Downloads\lichess-cheat-master\lichess-cheat-master\main.py", line 138, in getCellFromPos x, y = pos TypeError: cannot unpack non-iterable NoneType object