From 6295d6be94e56fd7816e7e8617b1a9ebb6f2577e Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 6 May 2014 15:45:39 -0700 Subject: [PATCH] Fix for invalid literal for int --- sickbeard/tv.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index e28e8b2b..78c5d8b4 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -1849,13 +1849,13 @@ class TVEpisode(object): '%Q.N': dot(Quality.qualityStrings[epQual]), '%Q_N': us(Quality.qualityStrings[epQual]), '%S': str(self.season), - '%0S': '%02d' % int(self.season), + '%0S': '%02d' % self.season, '%E': str(self.episode), - '%0E': '%02d' % int(self.episode), + '%0E': '%02d' % self.episode, '%XS': str(self.scene_season), - '%0XS': '%02d' % int(self.scene_season), + '%0XS': '%02d' % self.scene_season, '%XE': str(self.scene_episode), - '%0XE': '%02d' % int(self.scene_episode), + '%0XE': '%02d' % self.scene_episode, '%RN': release_name(self.release_name), '%RG': release_group(self.release_name), '%AD': str(self.airdate).replace('-', ' '),