From 74c380fa6452e574d64c389bdcf6acbdf2a25e1c Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Tue, 22 Dec 2020 18:14:30 +0100 Subject: [PATCH] Fix Rinumerazione --- platformcode/autorenumber.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platformcode/autorenumber.py b/platformcode/autorenumber.py index db49bb7d..fe1b18a8 100644 --- a/platformcode/autorenumber.py +++ b/platformcode/autorenumber.py @@ -205,9 +205,9 @@ class autorenumber(): if '|' in self.Season: ep = int(self.Season.split('|')[-1]) - season = int(self.Season.split('|')[0]) + Season = int(self.Season.split('|')[0]) else: - season = int(self.Season) + Season = int(self.Season) ep = 1 busy(True) @@ -215,7 +215,7 @@ class autorenumber(): busy(False) if self.item.renumber: - self.s = season + self.s = Season self.e = 1 Season, Episode, self.Mode, Specials, Seasons, Exit = SelectreNumeration(self, itemlist) if Exit: return @@ -223,7 +223,7 @@ class autorenumber(): else: self.Season = str(Season) elif self.Episodes and not self.Mode: - self.s = season + self.s = Season self.e = ep self.sp = True Season, Episode, self.Mode, Specials, Seasons, Exit = SelectreNumeration(self, itemlist)