Update event.py

added licencing