Cleanup un-needed yield.
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -108,7 +108,7 @@ def plex_rate(self):
self.plex_api.rate(self.plex.item, self.trakt_rating)
def plex_history(self, **kwargs):
- yield from self.plex_api.history(self.plex.item, **kwargs)
+ return self.plex_api.history(self.plex.item, **kwargs)
def __str__(self):
return str(self.plex)

Cleanup un-needed yield. #699