mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 19:42:20 -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 curEp in self.episodes[curSeason]:
|
||||
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
|
||||
if season == myEp.scene_season and episode == myEp.scene_episode:
|
||||
season = myEp.season
|
||||
episode = myEp.episode
|
||||
|
||||
# found correct ep info
|
||||
season = int(myEp.season)
|
||||
episode = int(myEp.episode)
|
||||
|
||||
if not season in self.episodes:
|
||||
self.episodes[season] = {}
|
||||
|
Loading…
Reference in New Issue
Block a user