Open ghost opened 6 years ago
It can be fixed by using the following code on game_grid.py
at line 532:
# specific pid to cancel?
if pid:
try:
self.after_cancel(pid)
except ValueError:
pass
# internal pid
else:
try:
self.after_cancel(self.__pid)
except ValueError:
pass
self.__pid = 0
When I run
python game.py
I got the following error.