Skip to content

Commit

Permalink
Fix TVShow seasons call
Browse files Browse the repository at this point in the history
Fixes moogar0880#98
Fixes moogar0880#76, maybe? I think we're talking about the same thing.
  • Loading branch information
iantrich authored Jan 29, 2019
1 parent d9d26eb commit 5df1db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trakt/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def seasons(self):
self._seasons = []
for season in data:
extract_ids(season)
self._seasons.append(TVSeason(self.title, **season))
self._seasons.append(TVSeason(self.title, season.number, **season))
yield self._seasons

@property
Expand Down

0 comments on commit 5df1db0

Please sign in to comment.