Make .on method fluid
MODIFY
plex_trakt_sync/listener.py
plex_trakt_sync/listener.py
@@ -20,6 +20,7 @@ def on(self, event_type, listener, **kwargs):
"event_type": event_type,
"filters": kwargs,
})
+ return self
def event_handler(self, data):
self.logger.debug(data)

Make .on method fluid