1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-14 03:52:22 -05:00

Fix for invalid literal for int

This commit is contained in:
echel0n 2014-05-06 15:45:39 -07:00
parent 6d8cf392d4
commit 6295d6be94

View File

@ -1849,13 +1849,13 @@ class TVEpisode(object):
'%Q.N': dot(Quality.qualityStrings[epQual]), '%Q.N': dot(Quality.qualityStrings[epQual]),
'%Q_N': us(Quality.qualityStrings[epQual]), '%Q_N': us(Quality.qualityStrings[epQual]),
'%S': str(self.season), '%S': str(self.season),
'%0S': '%02d' % int(self.season), '%0S': '%02d' % self.season,
'%E': str(self.episode), '%E': str(self.episode),
'%0E': '%02d' % int(self.episode), '%0E': '%02d' % self.episode,
'%XS': str(self.scene_season), '%XS': str(self.scene_season),
'%0XS': '%02d' % int(self.scene_season), '%0XS': '%02d' % self.scene_season,
'%XE': str(self.scene_episode), '%XE': str(self.scene_episode),
'%0XE': '%02d' % int(self.scene_episode), '%0XE': '%02d' % self.scene_episode,
'%RN': release_name(self.release_name), '%RN': release_name(self.release_name),
'%RG': release_group(self.release_name), '%RG': release_group(self.release_name),
'%AD': str(self.airdate).replace('-', ' '), '%AD': str(self.airdate).replace('-', ' '),