Update event.py

fix