1 parent 8a6d4f1 commit 6402630Copy full SHA for 6402630
1 file changed
trakt/users.py
@@ -372,7 +372,7 @@ def show_collection(self):
372
s = show.pop('show')
373
extract_ids(s)
374
sh = TVShow(**s)
375
- sh._seasons = [TVSeason(show=sh.title, **sea)
+ sh._seasons = [TVSeason(show=sh.title, season=sea['number'], **sea)
376
for sea in show.pop('seasons')]
377
self._show_collection.append(sh)
378
yield self._show_collection
0 commit comments