fix an error

Change Horses/ChangeHorses.py

* fix "global name is not defined"