mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-14 03:52:22 -05:00
Fixes issues with scene converting
This commit is contained in:
parent
51f691eeb2
commit
96a2c047a0
@ -189,11 +189,17 @@ class TVShow(object):
|
|||||||
for curSeason in self.episodes:
|
for curSeason in self.episodes:
|
||||||
for curEp in self.episodes[curSeason]:
|
for curEp in self.episodes[curSeason]:
|
||||||
myEp = self.episodes[curSeason][curEp]
|
myEp = self.episodes[curSeason][curEp]
|
||||||
if not myEp:
|
try:
|
||||||
|
scene_season = myEp.scene_season
|
||||||
|
scene_episode = myEp.scene_episode
|
||||||
|
except:continue
|
||||||
|
|
||||||
|
if season != scene_season or episode != scene_episode:
|
||||||
continue
|
continue
|
||||||
if season == myEp.scene_season and episode == myEp.scene_episode:
|
|
||||||
season = myEp.season
|
# found correct ep info
|
||||||
episode = myEp.episode
|
season = int(myEp.season)
|
||||||
|
episode = int(myEp.episode)
|
||||||
|
|
||||||
if not season in self.episodes:
|
if not season in self.episodes:
|
||||||
self.episodes[season] = {}
|
self.episodes[season] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user