fix(chore): Remove debug output
[plugin.video.netflix.git] / resources / lib / Navigation.py
index fcdea068f4b7f182fc8a49249071d46f590d73a6..43cdf05a5f5293d554d54a870a9188ed2b24f22e 100644 (file)
@@ -258,7 +258,7 @@ class Navigation:
         # sort seasons by index by default (they´re coming back unsorted from the api)
         seasons_sorted = []
         for season_id in season_list:
-            seasons_sorted.append(int(season_list[season_id]['shortName'].split(' ')[1]))
+            seasons_sorted.append(int(season_list[season_id]['id']))
             seasons_sorted.sort()
         return self.kodi_helper.build_season_listing(seasons_sorted=seasons_sorted, season_list=season_list, build_url=self.build_url)