Update event.py

reveting to the event.py file to the same as frappe
Merge pull request #2 from alexandre-00/patch-3

Update event.py