Update event.py

reverting to the event.py file to the same as frappe