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 Mar 9, 2024
1 parent 9a4f9f2 commit f5c5c36
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 @@ -721,10 +721,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 f5c5c36

Please sign in to comment.