Little typo in eventdetector.py