@property
    def next_episode(self):
        if self.__nextepisode is None and self.links in 'nextepisode' and 'href' in self.links['nextepisode']:
            episode_id = self.links['nextepisode']['href'].rsplit('/',1)[1]
            if episode_id.isdigit():
                self.__nextepisode = episode_by_id(episode_id)
        return self.__nextepisode
dataset/ETHPy150Open srob650/pytvmaze/pytvmaze/tvmaze.py/Show.next_episode/swapped operands of `in`