mirror of
https://github.com/SinTan1729/TvTimeToTrakt.git
synced 2024-12-25 21:08:37 -06:00
Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30 (#43)
* Update Trakt dependency from trakt==3.4.0 to pytrakt~=3.4.30 Resolve issue #42 * Fix retrieve of the season number
This commit is contained in:
parent
26cd599e45
commit
d721a28ba4
2 changed files with 3 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
||||||
trakt==3.4.0
|
pytrakt~=3.4.30
|
||||||
tinydb==4.6.1
|
tinydb==4.6.1
|
|
@ -120,7 +120,7 @@ class TVTimeTVShow(TVTimeItem):
|
||||||
|
|
||||||
season_number = int(self.season_number)
|
season_number = int(self.season_number)
|
||||||
# Gen get the Season Number from the first item in the array
|
# 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 the season number is 0, then the Trakt show contains a "special" season
|
||||||
if first_season_no == 0:
|
if first_season_no == 0:
|
||||||
|
|
Loading…
Reference in a new issue