fixed pep8 compliance
accidentally was not saving events today :(