Skip to content

Commit

Permalink
Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30 (#43)
Browse files Browse the repository at this point in the history
* Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30

Resolve issue #42

* Fix retrieve of the season number
  • Loading branch information
Tibimac authored Mar 2, 2024
1 parent 26cd599 commit d721a28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
trakt==3.4.0
tinydb==4.6.1
pytrakt~=3.4.30
tinydb==4.6.1
2 changes: 1 addition & 1 deletion searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def parse_season_number(self, trakt_show: TraktTVShow) -> int:

season_number = int(self.season_number)
# Gen get the Season Number from the first item in the array
first_season_no = trakt_show.seasons[0].number
first_season_no = trakt_show.seasons[0].season

# If the season number is 0, then the Trakt show contains a "special" season
if first_season_no == 0:
Expand Down

0 comments on commit d721a28

Please sign in to comment.