Skip to content

Commit

Permalink
Add show_id property initializer to TVEpisode
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 14, 2023
1 parent 8fff906 commit 572fc04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trakt/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,11 @@ def __len__(self):
class TVEpisode(IdsMixin):
"""Container for TV Episodes"""

def __init__(self, show, season, number=-1, **kwargs):
def __init__(self, show, season, number=-1, show_id=None, **kwargs):
super().__init__()
self.media_type = 'episodes'
self.show = show
self.show_id = show_id
self.season = season
self.number = number
self.overview = self.title = self.year = self.number_abs = None
Expand Down

0 comments on commit 572fc04

Please sign in to comment.