fixing twitter plugin deactivation when using Python<=2.6 (Issue #198)

*event methods changed behaviour with Python 2.7