Skip to content

Commit 6402630

Browse files
committed
fix season number in show_collection
1 parent 8a6d4f1 commit 6402630

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trakt/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def show_collection(self):
372372
s = show.pop('show')
373373
extract_ids(s)
374374
sh = TVShow(**s)
375-
sh._seasons = [TVSeason(show=sh.title, **sea)
375+
sh._seasons = [TVSeason(show=sh.title, season=sea['number'], **sea)
376376
for sea in show.pop('seasons')]
377377
self._show_collection.append(sh)
378378
yield self._show_collection

0 commit comments

Comments
 (0)